auto is ser2net client and server

This commit is contained in:
do
2020-11-10 13:53:30 +01:00
parent 2cfc782a27
commit fc73f02ad3
5 changed files with 160 additions and 1 deletions

View File

@@ -0,0 +1,46 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
include:
- haproxy
- systemd.units
openhab2-pkgs:
pkg.installed:
- pkgs:
- openhab2
- openhab2-addons
- default-jre-headless
- libopenzwave1.5
- gunicorn3
- python3
- prometheus-haproxy-exporter
- require:
- pkgrepo: repo_openhab2
repo_openhab2:
pkgrepo.managed:
- name: deb https://dl.bintray.com/openhab/apt-repo2 stable main
- file: /etc/apt/sources.list.d/openhab2.list
- key_url: 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab'
- clean_file: True
openhab-prometheus-exporter:
file.managed:
- name: /usr/local/bin/openhab2-prometheus-exporter.py
- source: https://raw.githubusercontent.com/zoide/openhab2-prometheus-exporter/master/openhab2-exporter.py
- source_hash: b6d1114af7418aff2d047c0ffc127f5adf0e4122
- user: openhab
- group: openhab
- mode: 0755
etc-apt-apt.conf-noproxy:
file.managed:
- name: /etc/apt/apt.conf.d/99-openhab2-noproxy
- user: root
- group: root
- mode: 0755
- contents: |
#SALT managed
Acquire::http::proxy::dl.bintray.com "DIRECT";