updated booleans in sls files
This commit is contained in:
parent
3b912d3c97
commit
4f7e38fb34
@ -24,7 +24,7 @@ acme-upgrade:
|
||||
acme-directories-{{ dir }}:
|
||||
file.directory:
|
||||
- name: {{ dir }}
|
||||
- makedirs: True
|
||||
- makedirs: true
|
||||
{%- endfor %}
|
||||
|
||||
acme-dh-params:
|
||||
|
@ -7,9 +7,9 @@ androidstudio-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ androidstudio.install_dir }}
|
||||
- source: {{ androidstudio.mirror }}/{{ androidstudio.version }}/android-studio-ide-{{ androidstudio.tag }}-linux.tar.gz
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- archive_format: tar
|
||||
- overwrite: True
|
||||
- overwrite: true
|
||||
|
||||
androidstudio-shortcut:
|
||||
file.managed:
|
||||
|
@ -12,7 +12,7 @@ apt-aptitude-install:
|
||||
#
|
||||
# apt-upgrade:
|
||||
# pkg.uptodate:
|
||||
# - refresh: True
|
||||
# - refresh: true
|
||||
#
|
||||
#apt-cacher-ng-proxy:
|
||||
# file.managed:
|
||||
|
@ -5,16 +5,16 @@ arduino-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ arduino.install_dir }}
|
||||
- source: {{ arduino.mirror }}/arduino-{{ arduino.version }}-{{ arduino.arch }}.tar.xz
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- archive_format: tar
|
||||
- keep: True
|
||||
- keep: true
|
||||
- if_missing: {{ arduino.install_dir }}/arduino-{{ arduino.version }}
|
||||
|
||||
arduino-symlink:
|
||||
file.symlink:
|
||||
- name: {{ arduino.install_dir }}/arduino
|
||||
- target: {{ arduino.install_dir }}/arduino-{{ arduino.version }}
|
||||
- force: True
|
||||
- force: true
|
||||
- onchanges:
|
||||
- arduino-archive-extract
|
||||
|
||||
@ -22,7 +22,7 @@ arduino-bin-symlink:
|
||||
file.symlink:
|
||||
- name: /usr/bin/arduino
|
||||
- target: {{ arduino.install_dir }}/arduino-{{ arduino.version }}/arduino
|
||||
- force: True
|
||||
- force: true
|
||||
- onchanges:
|
||||
- arduino-archive-extract
|
||||
|
||||
|
@ -11,7 +11,7 @@ bareos-fd-bin:
|
||||
file.managed:
|
||||
- name: /usr/sbin/bareos-fd
|
||||
- source: https://paulbsd-pub.s3.fr-par.scw.cloud/bareos/static-bareos-fd-{{ salt['grains.get']('osarch')|lower }}
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 0755
|
||||
@ -53,7 +53,7 @@ bareos-fd-config:
|
||||
bareos-fd-service:
|
||||
service.running:
|
||||
- name: bareos-fd
|
||||
- enable: True
|
||||
- enable: true
|
||||
- require:
|
||||
- file: bareos-fd-service-file
|
||||
{%- endif %}
|
@ -11,7 +11,7 @@ bareos-fd-bin:
|
||||
file.managed:
|
||||
- name: /usr/sbin/bareos-fd
|
||||
- source: {{ bareos.mirror }}/static-bareos-fd-{{ bareos.arch }}
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 0755
|
@ -15,6 +15,6 @@ bareos-fd-service-file:
|
||||
bareos-fd-service:
|
||||
service.running:
|
||||
- name: bareos-fd
|
||||
- enable: True
|
||||
- enable: true
|
||||
- require:
|
||||
- file: bareos-fd-service-file
|
@ -4,7 +4,7 @@ cds-engine-install:
|
||||
file.managed:
|
||||
- name: /usr/bin/cds-engine-{{ salt['pillar.get']('cds:engine:version') }}
|
||||
- source: {{ cds.mirror }}/{{ cds.version }}/cds-engine-{{ salt['grains.get']('kernel')|lower }}-{{ salt['grains.get']('osarch') }}
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
|
||||
cds-bin-symlink:
|
||||
file.symlink:
|
||||
|
@ -12,4 +12,4 @@ cds-service-file:
|
||||
cds-service:
|
||||
service.running:
|
||||
- name: cds
|
||||
- enable: True
|
||||
- enable: true
|
@ -4,8 +4,8 @@ coronafana-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ coronafana.release_dir }}/coronafana-{{ coronafana.version }}
|
||||
- source: {{ coronafana.mirror }}/{{ coronafana.version }}/coronafana-{{ coronafana.version }}-{{ coronafana.os }}-{{ coronafana.arch }}.tar.gz
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: true
|
||||
- enforce_toplevel: false
|
||||
- if_missing: {{ coronafana.release_dir }}/coronafana-{{ coronafana.version }}
|
||||
|
||||
coronafana-binary-symlink:
|
||||
|
@ -4,8 +4,8 @@ dip-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ dip.release_dir }}/dip-{{ dip.version }}
|
||||
- source: {{ dip.mirror }}/{{ dip.version }}/dip-{{ dip.version }}-{{ dip.os }}-{{ dip.arch }}.tar.gz
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: true
|
||||
- enforce_toplevel: false
|
||||
- if_missing: {{ dip.release_dir }}/dip-{{ dip.version }}
|
||||
- watch_in:
|
||||
- service: dip-service
|
||||
|
@ -11,4 +11,4 @@ dip-service-file:
|
||||
dip-service:
|
||||
service.running:
|
||||
- name: dip
|
||||
- enable: True
|
||||
- enable: true
|
@ -9,8 +9,8 @@ dkron-archive-extract:
|
||||
- name: {{ dkron.release_dir }}/dkron_{{ dkron.version }}
|
||||
- source: {{ dkron.mirror }}/v{{ dkron.version }}/dkron_{{ dkron.version }}_{{ dkron.os }}_{{ dkron.arch }}.tar.gz
|
||||
- user: {{ dkron.runuser }}
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: false
|
||||
- skip_verify: true
|
||||
- archive_format: tar
|
||||
- if_missing: {{ dkron.release_dir }}/dkron_{{ dkron.version }}
|
||||
|
||||
|
@ -13,4 +13,4 @@ dkron-service-file:
|
||||
dkron-service:
|
||||
service.running:
|
||||
- name: dkron@{{ dkron.runuser }}
|
||||
- enable: True
|
||||
- enable: true
|
@ -2,4 +2,4 @@
|
||||
docker-service:
|
||||
service.running:
|
||||
- name: docker
|
||||
- enable: True
|
||||
- enable: true
|
@ -4,7 +4,7 @@ dokuwiki-archive:
|
||||
archive.extracted:
|
||||
- name: {{ dokuwiki.release_dir }}
|
||||
- source: {{ dokuwiki.mirror }}/{{ dokuwiki.version }}.tar.gz
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- archive_format: tar
|
||||
- user: {{ dokuwiki.user }}
|
||||
- group: {{ dokuwiki.group }}
|
||||
@ -14,7 +14,7 @@ dokuwiki-install-link:
|
||||
file.symlink:
|
||||
- name: {{ dokuwiki.install_dir }}/dokuwiki
|
||||
- target: {{ dokuwiki.release_dir }}/dokuwiki-{{ dokuwiki.version }}
|
||||
- force: True
|
||||
- force: true
|
||||
|
||||
dokuwiki-savedir:
|
||||
file.directory:
|
||||
|
@ -2,4 +2,4 @@
|
||||
dovecot-service:
|
||||
service.running:
|
||||
- name: dovecot
|
||||
- enable: True
|
||||
- enable: true
|
||||
|
@ -4,8 +4,8 @@ fuelprices-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ fuelprices.release_dir }}/fuelprices-{{ fuelprices.version }}
|
||||
- source: {{ fuelprices.mirror }}/{{ fuelprices.version }}/fuelprices-{{ fuelprices.version }}-{{ fuelprices.os }}-{{ fuelprices.arch }}.tar.gz
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: true
|
||||
- enforce_toplevel: false
|
||||
- if_missing: {{ fuelprices.release_dir }}/fuelprices-{{ fuelprices.version }}
|
||||
|
||||
fuelprices-binary-symlink:
|
||||
|
@ -4,8 +4,8 @@ g2g-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ g2g.release_dir }}/g2g-{{ g2g.version }}
|
||||
- source: {{ g2g.mirror }}/{{ g2g.version }}/g2g-{{ g2g.version }}-{{ g2g.os }}-{{ g2g.arch }}.tar.gz
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: true
|
||||
- enforce_toplevel: false
|
||||
- if_missing: {{ g2g.release_dir }}/g2g-{{ g2g.version }}
|
||||
|
||||
g2g-binary-symlink:
|
||||
|
@ -10,6 +10,6 @@
|
||||
- user: git
|
||||
- group: git
|
||||
- mode: 640
|
||||
- makedirs: True
|
||||
- makedirs: true
|
||||
- require:
|
||||
- git
|
@ -5,9 +5,9 @@
|
||||
|
||||
git:
|
||||
group.present:
|
||||
- system: True
|
||||
- system: true
|
||||
user.present:
|
||||
- system: True
|
||||
- system: true
|
||||
- home: /var/lib/gitea
|
||||
- shell: /usr/sbin/nologin
|
||||
- groups:
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
gitea:
|
||||
service.running:
|
||||
- enable: True
|
||||
- full_restart: True
|
||||
- enable: true
|
||||
- full_restart: true
|
||||
- watch:
|
||||
- file: /var/lib/gitea/gitea
|
||||
- file: /var/lib/gitea/custom/conf/app.ini
|
||||
@ -17,4 +17,4 @@ gitea:
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 644
|
||||
- makedirs: True
|
||||
- makedirs: true
|
@ -7,7 +7,7 @@ gobackup-bin:
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 0755
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- if_missing: {{ gobackup.install_dir }}/gobackup
|
||||
|
||||
gobackup-backups-path:
|
||||
|
@ -4,8 +4,8 @@ golang-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ golang.install_dir }}/go{{ golang.version }}
|
||||
- source: {{ golang.mirror }}/go{{ golang.version }}.{{ golang.os }}-{{ golang.arch }}.tar.gz
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: true
|
||||
- enforce_toplevel: false
|
||||
- options: --transform 's/^go\///g'
|
||||
- if_missing: {{ golang.install_dir }}/go{{ golang.version }}
|
||||
|
||||
@ -13,6 +13,6 @@ golang-binary-symlink:
|
||||
file.symlink:
|
||||
- name: {{ golang.install_dir }}/go
|
||||
- target: {{ golang.install_dir }}/go{{ golang.version }}
|
||||
- force: True
|
||||
- force: true
|
||||
- require:
|
||||
- archive: golang-archive-extract
|
@ -12,8 +12,8 @@ influxdb-user:
|
||||
- name: influxdb
|
||||
- uid: {{ influxdb.user.uid }}
|
||||
- gid: {{ influxdb.group.gid }}
|
||||
- allow_uid_change: True
|
||||
- allow_gid_change: True
|
||||
- allow_uid_change: true
|
||||
- allow_gid_change: true
|
||||
- home: /var/lib/influxdb
|
||||
- watch_in:
|
||||
- service: influxdb-service
|
||||
@ -26,10 +26,10 @@ influxdb-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ influxdb.release_dir }}/influxdb-{{ influxdb.version }}
|
||||
- source: {{ influxdb.mirror }}/influxdb-{{ influxdb.version }}_{{ influxdb.os }}_{{ influxdb.arch }}.tar.gz
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- archive_format: tar
|
||||
- options: --strip 4
|
||||
- enforce_toplevel: False
|
||||
- enforce_toplevel: false
|
||||
- if_missing: {{ influxdb.release_dir }}/influxdb-{{ influxdb.version }}/influxd
|
||||
- watch_in:
|
||||
- service: influxdb-service
|
||||
|
@ -12,4 +12,4 @@ influxdb-service-file:
|
||||
influxdb-service:
|
||||
service.running:
|
||||
- name: influxdb
|
||||
- enable: True
|
||||
- enable: true
|
@ -10,8 +10,8 @@ ipfs-user:
|
||||
- uid: 899
|
||||
- gid: 899
|
||||
- home: /var/lib/ipfs
|
||||
- allow_uid_change: True
|
||||
- allow_gid_change: True
|
||||
- allow_uid_change: true
|
||||
- allow_gid_change: true
|
||||
|
||||
ipfs-dir:
|
||||
file.directory:
|
||||
@ -84,6 +84,6 @@ ipfs-service-file:
|
||||
ipfs-service:
|
||||
service.running:
|
||||
- name: ipfs
|
||||
- enable: True
|
||||
- enable: true
|
||||
- require:
|
||||
- file: ipfs-dir
|
@ -91,6 +91,6 @@ ip6tables-reset-config:
|
||||
iptables-service:
|
||||
service.running:
|
||||
- name: iptables
|
||||
- enable: True
|
||||
- enable: true
|
||||
- require:
|
||||
- pkg: iptables-pkg
|
@ -87,6 +87,6 @@ ip6tables-reset-config:
|
||||
iptables-service:
|
||||
service.running:
|
||||
- name: iptables
|
||||
- enable: True
|
||||
- enable: true
|
||||
- require:
|
||||
- pkg: iptables-pkg
|
@ -14,14 +14,14 @@ java_extract:
|
||||
- source: {{ java.fetch_url }}/jdk-{{ java.version }}_{{ java.os }}-{{ java.arch }}_bin.tar.gz
|
||||
- user: root
|
||||
- group: root
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- if_missing: {{ java.install_dir }}/jdk-{{ java.version }}
|
||||
|
||||
java_link:
|
||||
file.symlink:
|
||||
- name: {{ java.install_dir }}/default
|
||||
- target: {{ java.install_dir }}/jdk-{{ java.version }}
|
||||
- force: True
|
||||
- force: true
|
||||
- user: root
|
||||
- group: root
|
||||
|
||||
|
@ -2,4 +2,4 @@
|
||||
mariadb-service:
|
||||
service.running:
|
||||
- name: mariadb
|
||||
- enable: True
|
||||
- enable: true
|
@ -9,7 +9,7 @@ netbox-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ netbox.release_dir }}
|
||||
- source: {{ netbox.archive_url }}/v{{ netbox.version }}.tar.gz
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
|
||||
netbox-install-link:
|
||||
file.symlink:
|
||||
|
@ -11,4 +11,4 @@ netbox-service-file:
|
||||
netbox-service:
|
||||
service.running:
|
||||
- name: netbox
|
||||
- enable: True
|
||||
- enable: true
|
@ -4,9 +4,9 @@ nextcloud-archive:
|
||||
archive.extracted:
|
||||
- name: {{ nextcloud.release_dir }}/nextcloud-{{ nextcloud.version }}
|
||||
- source: {{ nextcloud.mirror }}/nextcloud-{{ nextcloud.version }}.tar.bz2
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- archive_format: tar
|
||||
- enforce_toplevel: False
|
||||
- enforce_toplevel: false
|
||||
- options: --strip 1
|
||||
- user: {{ nextcloud.user }}
|
||||
- group: {{ nextcloud.group }}
|
||||
@ -16,7 +16,7 @@ nextcloud-install-link:
|
||||
file.symlink:
|
||||
- name: {{ nextcloud.install_dir }}/nextcloud
|
||||
- target: {{ nextcloud.release_dir }}/nextcloud-{{ nextcloud.version }}
|
||||
- force: True
|
||||
- force: true
|
||||
|
||||
nextcloud-datadirectory:
|
||||
file.directory:
|
||||
|
@ -5,7 +5,7 @@ nextcloud-desktop-appimage:
|
||||
file.managed:
|
||||
- name: {{ nextcloud_desktop.dest_path }}-{{ nextcloud_desktop.version }}
|
||||
- source: {{ nextcloud_desktop.url }}/Nextcloud-{{ nextcloud_desktop.version }}-x86_64.AppImage
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 755
|
||||
@ -15,7 +15,7 @@ nextcloud-desktop-install-link:
|
||||
file.symlink:
|
||||
- name: {{ nextcloud_desktop.dest_path }}
|
||||
- target: {{ nextcloud_desktop.dest_path }}-{{ nextcloud_desktop.version }}
|
||||
- force: True
|
||||
- force: true
|
||||
- watch:
|
||||
- file: nextcloud-desktop-appimage
|
||||
|
||||
|
@ -17,6 +17,6 @@ nftables-main-config:
|
||||
nftables-service:
|
||||
service.running:
|
||||
- name: nftables
|
||||
- enable: True
|
||||
- enable: true
|
||||
- require:
|
||||
- pkg: nftables-pkg
|
@ -2,5 +2,5 @@
|
||||
nginx-service:
|
||||
service.running:
|
||||
- name: nginx
|
||||
- enable: True
|
||||
- reload: True
|
||||
- enable: true
|
||||
- reload: true
|
@ -10,5 +10,5 @@ npf-main-config:
|
||||
npf-service:
|
||||
service.running:
|
||||
- name: npf
|
||||
- enable: True
|
||||
- reload: True
|
||||
- enable: true
|
||||
- reload: true
|
@ -3,4 +3,4 @@
|
||||
opendkim-service:
|
||||
service.running:
|
||||
- name: opendkim
|
||||
- enable: True
|
||||
- enable: true
|
@ -2,4 +2,4 @@
|
||||
openvpn-client-service:
|
||||
service.running:
|
||||
- name: openvpn@vpn
|
||||
- enable: True
|
||||
- enable: true
|
@ -4,5 +4,5 @@ packer-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ packer.install_dir }}
|
||||
- source: {{ packer.mirror }}/{{ packer.version }}/packer_{{ packer.version }}_{{ packer.kernel }}_{{ packer.osarch }}.zip
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: true
|
||||
- enforce_toplevel: false
|
@ -2,5 +2,5 @@
|
||||
php-fpm-service:
|
||||
service.running:
|
||||
- name: php7.3-fpm
|
||||
- enable: True
|
||||
- reload: True
|
||||
- enable: true
|
||||
- reload: true
|
@ -2,7 +2,7 @@
|
||||
pkg-full-upgrade:
|
||||
pkg.uptodate:
|
||||
- name: pkg-full-upgrade
|
||||
- refresh: True
|
||||
- refresh: true
|
||||
|
||||
pkg-install-apt-transport-https:
|
||||
pkg.latest:
|
||||
|
@ -7,7 +7,7 @@ pkg-install:
|
||||
{%- for pkg in pkg.aptpkgs %}
|
||||
- {{ pkg }}
|
||||
{%- endfor %}
|
||||
- refresh: False
|
||||
- refresh: false
|
||||
- require:
|
||||
- sls: repos
|
||||
{%- endif %}
|
||||
|
@ -3,5 +3,5 @@
|
||||
postfix-service:
|
||||
service.running:
|
||||
- name: postfix
|
||||
- enable: True
|
||||
- reload: True
|
||||
- enable: true
|
||||
- reload: true
|
@ -2,4 +2,4 @@
|
||||
postgresql-service:
|
||||
service.running:
|
||||
- name: postgresql
|
||||
- enable: True
|
||||
- enable: true
|
@ -5,14 +5,14 @@ schedule_highstate:
|
||||
- name: schedule_highstate
|
||||
- function: state.highstate
|
||||
- minutes: 30
|
||||
- run_on_start: False
|
||||
- run_on_start: false
|
||||
|
||||
schedule_saltutil_clear_cache:
|
||||
schedule.present:
|
||||
- name: schedule_saltutil_clear_cache
|
||||
- function: saltutil.clear_cache
|
||||
- hours: 2
|
||||
- run_on_start: False
|
||||
- run_on_start: false
|
||||
|
||||
schedule_pkg_refresh:
|
||||
schedule.absent:
|
||||
@ -27,5 +27,5 @@ schedule_pkg_upgrade:
|
||||
grains.present:
|
||||
- name: {{ key }}
|
||||
- value: {% if specs[salt['grains.get']('id')][key] is defined %}{{ specs[salt['grains.get']('id')][key] }}{% else %}{{ value }}{% endif %}
|
||||
- force: True
|
||||
- force: true
|
||||
{% endfor %}
|
||||
|
@ -17,7 +17,7 @@ pycharm-link:
|
||||
file.symlink:
|
||||
- name: {{ pycharm.install_dir }}/pycharm
|
||||
- target: {{ pycharm.install_dir }}/pycharm-community-{{ pycharm.version }}
|
||||
- force: True
|
||||
- force: true
|
||||
|
||||
pycharm-shortcut:
|
||||
file.managed:
|
||||
|
@ -4,8 +4,8 @@ qrz-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ qrz.release_dir }}/qrz-{{ qrz.version }}
|
||||
- source: {{ qrz.mirror }}/{{ qrz.version }}/qrz-{{ qrz.version }}-{{ qrz.os }}-{{ qrz.arch }}.tar.gz
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: true
|
||||
- enforce_toplevel: false
|
||||
- if_missing: {{ qrz.release_dir }}/qrz-{{ qrz.version }}
|
||||
- watch_in:
|
||||
- service: qrz-service
|
||||
|
@ -11,4 +11,4 @@ qrz-service-file:
|
||||
qrz-service:
|
||||
service.running:
|
||||
- name: qrz
|
||||
- enable: True
|
||||
- enable: true
|
@ -5,15 +5,15 @@ rclone-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ rclone.release_dir }}
|
||||
- source: {{ rclone.mirror }}/{{ rclone.version }}/rclone-{{ rclone.version }}-{{ rclone.os }}-{{ rclone.arch }}.zip
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: true
|
||||
- enforce_toplevel: false
|
||||
- if_missing: {{ rclone.release_dir }}/rclone
|
||||
|
||||
rclone-binary-symlink:
|
||||
file.symlink:
|
||||
- name: /usr/local/bin/rclone
|
||||
- target: {{ rclone.release_dir }}/rclone-{{ rclone.version }}-{{ rclone.os }}-{{ rclone.arch }}/rclone
|
||||
- force: True
|
||||
- force: true
|
||||
- require:
|
||||
- archive: rclone-archive-extract
|
||||
{%- endif %}
|
@ -2,4 +2,4 @@
|
||||
redis-service:
|
||||
service.running:
|
||||
- name: redis
|
||||
- enable: True
|
||||
- enable: true
|
@ -12,7 +12,7 @@ repo-{{ repo['name'] }}:
|
||||
- name: {{ repo['src'] }}
|
||||
- gpgcheck: {{ repo['gpgcheck']|default(1) }}
|
||||
- file: {{ repo['file'] }}
|
||||
- clean_file: True
|
||||
- clean_file: true
|
||||
{%- if repo['key_method'] is defined %}
|
||||
{%- if repo['key_method'] == 'file' %}
|
||||
- key_url: {{ repo['key_url'] }}
|
||||
@ -22,7 +22,7 @@ repo-{{ repo['name'] }}:
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
- refresh: True
|
||||
- refresh: true
|
||||
{%- else %}
|
||||
|
||||
repo-{{ repo['name'] }}:
|
||||
|
@ -2,4 +2,4 @@
|
||||
rspamd-service:
|
||||
service.running:
|
||||
- name: rspamd
|
||||
- enable: True
|
||||
- enable: true
|
@ -2,6 +2,6 @@
|
||||
rsync-service:
|
||||
service.running:
|
||||
- name: rsync
|
||||
- enable: True
|
||||
- enable: true
|
||||
- require:
|
||||
- file: rsync-config
|
@ -2,4 +2,4 @@
|
||||
rsyslog-service:
|
||||
service.running:
|
||||
- name: rsyslog
|
||||
- enable: True
|
||||
- enable: true
|
@ -12,7 +12,7 @@ samba-user-{{ user.name }}:
|
||||
- name: {{ user.name }}
|
||||
- login: {{ user.name }}
|
||||
- password: "{{ user.password }}"
|
||||
- password_hashed: False
|
||||
- password_hashed: false
|
||||
- require:
|
||||
- pkg: samba-pkg
|
||||
{%- endfor %}
|
@ -7,7 +7,7 @@ include:
|
||||
service-{{ service }}:
|
||||
service.running:
|
||||
- name: {{ service }}
|
||||
- enable: True
|
||||
- enable: true
|
||||
- require:
|
||||
- pkg: pkg-install
|
||||
{%- endfor %}
|
||||
@ -18,6 +18,6 @@ service-{{ service }}:
|
||||
service-{{ service }}:
|
||||
service.dead:
|
||||
- name: {{ service }}
|
||||
- enable: False
|
||||
- enable: false
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
@ -2,5 +2,5 @@
|
||||
ssh-sshd-service:
|
||||
service.running:
|
||||
- name: sshd
|
||||
- enable: True
|
||||
- reload: True
|
||||
- enable: true
|
||||
- reload: true
|
@ -4,7 +4,7 @@ sublime-text-extract-archive:
|
||||
archive.extracted:
|
||||
- name: {{ sublimetext.install_dir }}
|
||||
- source: {{ sublimetext.fetch_url }}/{{ sublimetext.archive_name }}
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 0755
|
||||
|
@ -4,7 +4,7 @@
|
||||
#syncthing-config-dir:
|
||||
# file.directory:
|
||||
# - name: {{ configdir }}
|
||||
# - makedirs: True
|
||||
# - makedirs: true
|
||||
# - watch_in:
|
||||
# - service: syncthing-service
|
||||
|
||||
|
@ -4,8 +4,8 @@ syncthing-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ syncthing.release_dir }}
|
||||
- source: {{ syncthing.mirror }}/v{{ syncthing.version }}/syncthing-{{ syncthing.os }}-{{ syncthing.arch }}-v{{ syncthing.version }}.tar.gz
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: false
|
||||
- skip_verify: true
|
||||
- archive_format: tar
|
||||
- if_missing: {{ syncthing.release_dir }}/syncthing-{{ syncthing.os }}-{{ syncthing.arch }}-v{{ syncthing.version }}
|
||||
- watch_in:
|
||||
|
@ -13,4 +13,4 @@ syncthing-service-file:
|
||||
syncthing-service:
|
||||
service.running:
|
||||
- name: syncthing@{{ syncthing.user }}
|
||||
- enable: True
|
||||
- enable: true
|
@ -5,9 +5,9 @@ telegraf-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ telegraf.release_dir }}/telegraf-{{ telegraf.version }}
|
||||
- source: {{ telegraf.mirror }}/telegraf-{{ telegraf.version }}_{{ salt['grains.get']('kernel')|lower }}_{{ salt['grains.get']('osarch') }}.tar.gz
|
||||
- enforce_toplevel: False
|
||||
- enforce_toplevel: false
|
||||
- options: --transform 's|^\{{ archive_exclude_dir }}|/|g' --exclude '{{ archive_exclude_dir }}/etc' --exclude '{{ archive_exclude_dir }}/usr/lib' --exclude '{{ archive_exclude_dir }}/var' --strip 2
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- archive_format: tar
|
||||
- if_missing: {{ telegraf.release_dir }}/telegraf-{{ telegraf.version }}/telegraf
|
||||
- watch_in:
|
||||
|
@ -13,4 +13,4 @@ telegraf-service-file:
|
||||
telegraf-service:
|
||||
service.running:
|
||||
- name: telegraf
|
||||
- enable: True
|
||||
- enable: true
|
@ -4,24 +4,24 @@ telegram-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ telegram.dest_path }}{{ telegram.version }}
|
||||
- source: {{ telegram.mirror }}/v{{ telegram.version }}/tsetup.{{ telegram.version }}.tar.xz
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- archive_format: tar
|
||||
- enforce_toplevel: False
|
||||
- enforce_toplevel: false
|
||||
- options: --transform 's/Telegram/telegram/g' --transform 's/Updater/updater/g' --strip 1
|
||||
- keep: True
|
||||
- keep: true
|
||||
- if_missing: {{ telegram.dest_path }}{{ telegram.version }}/telegram
|
||||
|
||||
telegram-symlink:
|
||||
file.symlink:
|
||||
- name: {{ telegram.install_dir }}/telegram
|
||||
- target: {{ telegram.dest_path }}{{ telegram.version }}
|
||||
- force: True
|
||||
- force: true
|
||||
|
||||
telegram-bin-symlink:
|
||||
file.symlink:
|
||||
- name: /usr/bin/telegram
|
||||
- target: {{ telegram.dest_path }}{{ telegram.version }}/telegram
|
||||
- force: True
|
||||
- force: true
|
||||
|
||||
telegram-shortcut:
|
||||
file.managed:
|
||||
|
@ -5,9 +5,9 @@
|
||||
# - name: deb http://download.bareos.org/bareos/release/17.2/xUbuntu_16.04 /
|
||||
# - gpgcheck: 1
|
||||
# - file: /etc/apt/sources.list.d/bareos.list
|
||||
# - clean_file: True
|
||||
# - clean_file: true
|
||||
# - key_url: http://download.bareos.org/bareos/release/17.2/xUbuntu_16.04/Release.key
|
||||
# - refresh_db: True
|
||||
# - refresh_db: true
|
||||
|
||||
pkg-repo-test-absent:
|
||||
pkgrepo.absent:
|
||||
|
@ -3,4 +3,4 @@
|
||||
ntp-service:
|
||||
service.running:
|
||||
- name: ntp
|
||||
- enable: True
|
||||
- enable: true
|
@ -3,4 +3,4 @@
|
||||
time-timezone:
|
||||
timezone.system:
|
||||
- name: {{ time.zone }}
|
||||
- utc: False
|
||||
- utc: false
|
@ -4,7 +4,7 @@
|
||||
transmission-dl-dir:
|
||||
file.directory:
|
||||
- name: {{ transmission['config']['download-dir'] }}
|
||||
- makedirs: True
|
||||
- makedirs: true
|
||||
- user: debian-transmission
|
||||
- group: debian-transmission
|
||||
- mode: 755
|
||||
|
@ -2,4 +2,4 @@
|
||||
transmission-service:
|
||||
service.running:
|
||||
- name: transmission-daemon
|
||||
- enable: True
|
||||
- enable: true
|
@ -18,9 +18,9 @@ user-{{ user.name }}:
|
||||
- shell: {{ user.shell }}
|
||||
- home: {{ user.home }}
|
||||
- password: {{ user.password }}
|
||||
- hash_password: True
|
||||
- hash_password: true
|
||||
- gid: {{ user.gid }}
|
||||
- allow_gid_change: True
|
||||
- allow_gid_change: true
|
||||
{%- if user.optional_groups is defined %}
|
||||
- optional_groups:
|
||||
{%- for opt_group in user.optional_groups %}
|
||||
|
@ -7,9 +7,9 @@ vim-pkg:
|
||||
vim-vimfiles-directory:
|
||||
file.directory:
|
||||
- name: {{ vim.plugins_dir }}
|
||||
- makedirs: True
|
||||
- makedirs: true
|
||||
|
||||
vim-colors-directory:
|
||||
file.directory:
|
||||
- name: {{ vim.colors_dir }}
|
||||
- makedirs: True
|
||||
- makedirs: true
|
@ -3,7 +3,7 @@
|
||||
vim-plugin-dirs:
|
||||
file.directory:
|
||||
- name: {{ vim.plugins_dir }}
|
||||
- makedirs: True
|
||||
- makedirs: true
|
||||
|
||||
{%- for key, value in vim.plugins.items() %}
|
||||
{{ value.name }}:
|
||||
|
@ -5,7 +5,7 @@ vim-{{ value.name }}-theme:
|
||||
file.managed:
|
||||
- name: {{ vim.colors_dir }}/{{ value.name }}.vim
|
||||
- source: {{ value.url }}
|
||||
- skip_verify: True
|
||||
- skip_verify: true
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 0644
|
||||
|
@ -13,4 +13,4 @@ vsftpd-config:
|
||||
vsftpd-service:
|
||||
service.running:
|
||||
- name: vsftpd
|
||||
- enable: True
|
||||
- enable: true
|
@ -4,8 +4,8 @@ weather-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ weather.release_dir }}/weather-{{ weather.version }}
|
||||
- source: {{ weather.mirror }}/{{ weather.version }}/weather-{{ weather.version }}-{{ weather.os }}-{{ weather.arch }}.tar.gz
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: true
|
||||
- enforce_toplevel: false
|
||||
- if_missing: {{ weather.release_dir }}/weather-{{ weather.version }}
|
||||
|
||||
weather-binary-symlink:
|
||||
|
@ -4,8 +4,8 @@ website-archive-extract:
|
||||
archive.extracted:
|
||||
- name: {{ website.release_dir }}/website-{{ website.version }}
|
||||
- source: {{ website.mirror }}/{{ website.version }}/website-{{ website.version }}.tar.gz
|
||||
- skip_verify: True
|
||||
- enforce_toplevel: False
|
||||
- skip_verify: true
|
||||
- enforce_toplevel: false
|
||||
- if_missing: {{ website.release_dir }}/website-{{ website.version }}
|
||||
|
||||
website-binary-symlink:
|
||||
|
Loading…
Reference in New Issue
Block a user