lint on states
This commit is contained in:
parent
ecc6da804e
commit
d456c0e9eb
@ -2,4 +2,4 @@
|
|||||||
androidstudio:
|
androidstudio:
|
||||||
enabled: true
|
enabled: true
|
||||||
install_dir: /usr/local/apps
|
install_dir: /usr/local/apps
|
||||||
config:
|
config: {}
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
arduino:
|
arduino:
|
||||||
mirror: https://downloads.arduino.cc
|
mirror: https://downloads.arduino.cc
|
||||||
install_dir: /usr/local/apps
|
install_dir: /usr/local/apps
|
||||||
release_dir: /usr/local/apps/releases
|
release_dir: /usr/local/apps/releases
|
||||||
|
@ -56,4 +56,4 @@ bareos-fd-service:
|
|||||||
- enable: true
|
- enable: true
|
||||||
- require:
|
- require:
|
||||||
- file: bareos-fd-service-file
|
- file: bareos-fd-service-file
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -18,4 +18,4 @@ bareos-fd-config:
|
|||||||
- service: bareos-fd-service
|
- service: bareos-fd-service
|
||||||
- require:
|
- require:
|
||||||
- file: bareos-fd-bin
|
- file: bareos-fd-bin
|
||||||
- file: bareos-fd-config-dir
|
- file: bareos-fd-config-dir
|
||||||
|
@ -5,4 +5,4 @@ bareos:
|
|||||||
install_dir: /usr/local/bin
|
install_dir: /usr/local/bin
|
||||||
mirror: https://paulbsd-pub.s3.fr-par.scw.cloud/bareos
|
mirror: https://paulbsd-pub.s3.fr-par.scw.cloud/bareos
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
{%- if salt['grains.get']('kernel') == 'Linux' %}
|
{%- if salt['grains.get']('kernel') == 'Linux' %}
|
||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -14,4 +14,4 @@ bareos-fd-bin:
|
|||||||
- skip_verify: true
|
- skip_verify: true
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: 0755
|
- mode: 0755
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
Linux:
|
Linux:
|
||||||
os: "linux"
|
os: "linux"
|
||||||
|
@ -18,4 +18,4 @@ armv7l:
|
|||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
|
||||||
armhf:
|
armhf:
|
||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
@ -16,4 +16,4 @@ bareos-fd-service:
|
|||||||
- name: bareos-fd
|
- name: bareos-fd
|
||||||
- enable: true
|
- enable: true
|
||||||
- require:
|
- require:
|
||||||
- file: bareos-fd-service-file
|
- file: bareos-fd-service-file
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
default=defaults.borg,
|
default=defaults.borg,
|
||||||
merge=True
|
merge=True
|
||||||
)
|
)
|
||||||
-%}
|
-%}
|
@ -70,4 +70,4 @@ else
|
|||||||
info "Backup and/or Prune finished with errors"
|
info "Backup and/or Prune finished with errors"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit ${global_exit}
|
exit ${global_exit}
|
@ -1,3 +1,3 @@
|
|||||||
{%- from "borg/map.jinja" import borg with context %}
|
{%- from "borg/map.jinja" import borg with context %}
|
||||||
## Sudo rights for borg run_user
|
## Sudo rights for borg run_user
|
||||||
{{ borg.run_user }} ALL=(ALL) NOPASSWD: {{ borg.working_dir }}/scripts/borg_*.sh
|
{{ borg.run_user }} ALL=(ALL) NOPASSWD: {{ borg.working_dir }}/scripts/borg_*.sh
|
@ -8,4 +8,4 @@ burp-client-config:
|
|||||||
- mode: 0644
|
- mode: 0644
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- require:
|
- require:
|
||||||
- pkg: burp-pkg
|
- pkg: burp-pkg
|
||||||
|
@ -16,4 +16,4 @@ burp-timer:
|
|||||||
- user: root
|
- user: root
|
||||||
- mode: 0644
|
- mode: 0644
|
||||||
- template: jinja
|
- template: jinja
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -63,4 +63,4 @@ burp:
|
|||||||
exclude_fs: tmpfs
|
exclude_fs: tmpfs
|
||||||
exclude_comp: bz2
|
exclude_comp: bz2
|
||||||
exclude_comp: gz
|
exclude_comp: gz
|
||||||
nobackup: .nobackup
|
nobackup: .nobackup
|
||||||
|
@ -9,4 +9,4 @@ include:
|
|||||||
{%- elif salt['grains.get']('fqdn') in burp.hosts.name %}
|
{%- elif salt['grains.get']('fqdn') in burp.hosts.name %}
|
||||||
- .client.config
|
- .client.config
|
||||||
- .client.service
|
- .client.service
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -4,4 +4,4 @@ burp-config-dir:
|
|||||||
file.directory:
|
file.directory:
|
||||||
- name: /etc/burp
|
- name: /etc/burp
|
||||||
- user: root
|
- user: root
|
||||||
- mode: 0755
|
- mode: 0755
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
burp-pkg:
|
burp-pkg:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: burp
|
- name: burp
|
||||||
|
@ -14,4 +14,4 @@ cds-config-file:
|
|||||||
- group: root
|
- group: root
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: cds-service
|
- service: cds-service
|
||||||
|
@ -4,4 +4,4 @@ cds:
|
|||||||
enabled: true
|
enabled: true
|
||||||
config:
|
config:
|
||||||
mirror: https://github.com/ovh/cds/releases/download/
|
mirror: https://github.com/ovh/cds/releases/download/
|
||||||
version: 0.43.1
|
version: 0.43.1
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
- .config
|
- .config
|
||||||
- .service
|
- .service
|
||||||
|
@ -9,4 +9,4 @@ cds-engine-install:
|
|||||||
cds-bin-symlink:
|
cds-bin-symlink:
|
||||||
file.symlink:
|
file.symlink:
|
||||||
- name: /usr/bin/cds-engine
|
- name: /usr/bin/cds-engine
|
||||||
- target: /usr/bin/cds-engine-{{ salt['pillar.get']('cds:version') }}
|
- target: /usr/bin/cds-engine-{{ salt['pillar.get']('cds:version') }}
|
||||||
|
@ -12,4 +12,4 @@ cds-service-file:
|
|||||||
cds-service:
|
cds-service:
|
||||||
service.running:
|
service.running:
|
||||||
- name: cds
|
- name: cds
|
||||||
- enable: true
|
- enable: true
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
|
@ -13,4 +13,4 @@ coronafana-binary-symlink:
|
|||||||
- name: {{ coronafana.install_dir }}/coronafana
|
- name: {{ coronafana.install_dir }}/coronafana
|
||||||
- target: {{ coronafana.release_dir }}/coronafana-{{ coronafana.version }}
|
- target: {{ coronafana.release_dir }}/coronafana-{{ coronafana.version }}
|
||||||
- require:
|
- require:
|
||||||
- archive: coronafana-archive-extract
|
- archive: coronafana-archive-extract
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
Linux:
|
Linux:
|
||||||
os: "linux"
|
os: "linux"
|
||||||
|
@ -18,4 +18,4 @@ armv7l:
|
|||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
|
||||||
armhf:
|
armhf:
|
||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
@ -8,4 +8,4 @@ dip:
|
|||||||
mirror: https://git.paulbsd.com/paulbsd/dip/releases/download
|
mirror: https://git.paulbsd.com/paulbsd/dip/releases/download
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
@ -9,4 +9,4 @@ Type=simple
|
|||||||
ExecStart={{ dip.install_dir }}/dip/dip -host {{ dip.host }} -port {{ dip.port }}
|
ExecStart={{ dip.install_dir }}/dip/dip -host {{ dip.host }} -port {{ dip.port }}
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
Linux:
|
Linux:
|
||||||
os: "linux"
|
os: "linux"
|
||||||
|
@ -18,4 +18,4 @@ armv7l:
|
|||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
|
||||||
armhf:
|
armhf:
|
||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
---
|
---
|
||||||
dkron:
|
dkron:
|
||||||
enabled: true
|
enabled: true
|
||||||
install_dir: "/usr/local/apps"
|
install_dir: /usr/local/apps
|
||||||
release_dir: "/usr/local/apps/releases"
|
release_dir: /usr/local/apps/releases
|
||||||
mirror: "https://github.com/distribworks/dkron/releases/download"
|
mirror: https://github.com/distribworks/dkron/releases/download
|
||||||
version: "3.0.5"
|
version: 3.0.5
|
||||||
os: "linux"
|
os: linux
|
||||||
arch: "amd64"
|
arch: amd64
|
||||||
runuser: "dkron"
|
runuser: dkron
|
||||||
user: "user"
|
user: user
|
||||||
password: "password"
|
password: password
|
||||||
url: "http://localhost:8898"
|
url: http://localhost:8898
|
||||||
verify: false
|
verify: false
|
||||||
config:
|
config:
|
||||||
bootstrap-expect: 1
|
bootstrap-expect: 1
|
||||||
server: true
|
server: true
|
||||||
ui: true
|
ui: true
|
||||||
http-addr: "127.0.0.1:8898"
|
http-addr: 127.0.0.1:8898
|
||||||
data-dir: "/var/lib/dkron"
|
data-dir: /var/lib/dkron
|
||||||
jobs_list: []
|
jobs_list: []
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
Linux:
|
Linux:
|
||||||
os: "linux"
|
os: "linux"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
docker:
|
docker:
|
||||||
enabled: true
|
enabled: true
|
||||||
config_dir: "/etc/docker"
|
config_dir: /etc/docker
|
||||||
config_file: "daemon.json"
|
config_file: daemon.json
|
||||||
pkgs:
|
pkgs:
|
||||||
- docker-ce
|
- docker-ce
|
||||||
- docker-ce-cli
|
- docker-ce-cli
|
||||||
@ -10,4 +10,4 @@ docker:
|
|||||||
- docker-compose
|
- docker-compose
|
||||||
daemon:
|
daemon:
|
||||||
config:
|
config:
|
||||||
storage-driver: overlay2
|
storage-driver: overlay2
|
||||||
|
@ -94,8 +94,8 @@ dovecot:
|
|||||||
15-lda.conf:
|
15-lda.conf:
|
||||||
hostname: host.example.com
|
hostname: host.example.com
|
||||||
sendmail_path: /usr/sbin/sendmail
|
sendmail_path: /usr/sbin/sendmail
|
||||||
lda_mailbox_autocreate: yes
|
lda_mailbox_autocreate: 'yes'
|
||||||
lda_mailbox_autosubscribe: yes
|
lda_mailbox_autosubscribe: 'yes'
|
||||||
protocol lda:
|
protocol lda:
|
||||||
mail_plugins: $mail_plugins autocreate sieve quota
|
mail_plugins: $mail_plugins autocreate sieve quota
|
||||||
postmaster_address: postmaster@example.com
|
postmaster_address: postmaster@example.com
|
||||||
|
@ -18,4 +18,4 @@
|
|||||||
|
|
||||||
{%- for key, value in config.items() %}
|
{%- for key, value in config.items() %}
|
||||||
{{ render(key, value) }}
|
{{ render(key, value) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
@ -2,4 +2,4 @@
|
|||||||
{%- from "dovecot/map.jinja" import dovecot with context %}
|
{%- from "dovecot/map.jinja" import dovecot with context %}
|
||||||
dovecot-pkgs:
|
dovecot-pkgs:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs: {{ dovecot.pkgs }}
|
- pkgs: {{ dovecot.pkgs }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
drone:
|
drone:
|
||||||
enabled: true
|
enabled: true
|
||||||
server:
|
server: {}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
include:
|
include:
|
||||||
- docker
|
- docker
|
||||||
- .server
|
- .server
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
drone-server:
|
drone-server:
|
||||||
docker_container.running:
|
docker_container.running:
|
||||||
{{ drone.server }}
|
{{ drone.server }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
|
@ -13,4 +13,4 @@ fuelprices-binary-symlink:
|
|||||||
- name: {{ fuelprices.install_dir }}/fuelprices
|
- name: {{ fuelprices.install_dir }}/fuelprices
|
||||||
- target: {{ fuelprices.release_dir }}/fuelprices-{{ fuelprices.version }}
|
- target: {{ fuelprices.release_dir }}/fuelprices-{{ fuelprices.version }}
|
||||||
- require:
|
- require:
|
||||||
- archive: fuelprices-archive-extract
|
- archive: fuelprices-archive-extract
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
Linux:
|
Linux:
|
||||||
os: "linux"
|
os: "linux"
|
||||||
|
@ -18,4 +18,4 @@ armv7l:
|
|||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
|
||||||
armhf:
|
armhf:
|
||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
|
@ -13,4 +13,4 @@ g2g-binary-symlink:
|
|||||||
- name: {{ g2g.install_dir }}/g2g
|
- name: {{ g2g.install_dir }}/g2g
|
||||||
- target: {{ g2g.release_dir }}/g2g-{{ g2g.version }}
|
- target: {{ g2g.release_dir }}/g2g-{{ g2g.version }}
|
||||||
- require:
|
- require:
|
||||||
- archive: g2g-archive-extract
|
- archive: g2g-archive-extract
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
Linux:
|
Linux:
|
||||||
os: "linux"
|
os: "linux"
|
||||||
|
@ -18,4 +18,4 @@ armv7l:
|
|||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
|
||||||
armhf:
|
armhf:
|
||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
- .config
|
- .config
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
Linux:
|
Linux:
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -18,4 +18,4 @@ arm64:
|
|||||||
# arch: arm
|
# arch: arm
|
||||||
|
|
||||||
# armhf:
|
# armhf:
|
||||||
# arch: arm
|
# arch: arm
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
|
@ -9,4 +9,4 @@ FreeBSD:
|
|||||||
os: "freebsd"
|
os: "freebsd"
|
||||||
|
|
||||||
NetBSD:
|
NetBSD:
|
||||||
os: "netbsd"
|
os: "netbsd"
|
||||||
|
@ -18,4 +18,4 @@ armv7l:
|
|||||||
arch: "armv6l"
|
arch: "armv6l"
|
||||||
|
|
||||||
armhf:
|
armhf:
|
||||||
arch: "armv6l"
|
arch: "armv6l"
|
||||||
|
@ -13,4 +13,4 @@ gufw-desktop-cfg:
|
|||||||
- name: /etc/gufw/Desktop.profile
|
- name: /etc/gufw/Desktop.profile
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: 600
|
- mode: 600
|
||||||
|
@ -17,4 +17,4 @@ influxdb-config-file:
|
|||||||
- mode: 644
|
- mode: 644
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: influxdb-service
|
- service: influxdb-service
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
Linux:
|
Linux:
|
||||||
os: "linux"
|
os: "linux"
|
||||||
|
@ -18,4 +18,4 @@ armv7l:
|
|||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
|
||||||
armhf:
|
armhf:
|
||||||
arch: "arm"
|
arch: "arm"
|
||||||
|
@ -13,4 +13,4 @@ Restart=on-failure
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
Alias=influxd.service
|
Alias=influxd.service
|
@ -2,4 +2,4 @@
|
|||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
- .config
|
- .config
|
||||||
- .service
|
- .service
|
||||||
|
@ -31,4 +31,4 @@ ipfs-init:
|
|||||||
- 0
|
- 0
|
||||||
- 1
|
- 1
|
||||||
- watch-in:
|
- watch-in:
|
||||||
- service: ipfs-service
|
- service: ipfs-service
|
||||||
|
@ -9,4 +9,4 @@ FreeBSD:
|
|||||||
os: "freebsd"
|
os: "freebsd"
|
||||||
|
|
||||||
NetBSD:
|
NetBSD:
|
||||||
os: "netbsd"
|
os: "netbsd"
|
||||||
|
@ -18,4 +18,4 @@ armv7l:
|
|||||||
arch: "armv6l"
|
arch: "armv6l"
|
||||||
|
|
||||||
armhf:
|
armhf:
|
||||||
arch: "armv6l"
|
arch: "armv6l"
|
||||||
|
@ -11,4 +11,4 @@ ipfs-service:
|
|||||||
- name: ipfs
|
- name: ipfs
|
||||||
- enable: true
|
- enable: true
|
||||||
- require:
|
- require:
|
||||||
- file: ipfs-dir
|
- file: ipfs-dir
|
||||||
|
@ -93,4 +93,4 @@ iptables-service:
|
|||||||
- name: iptables
|
- name: iptables
|
||||||
- enable: true
|
- enable: true
|
||||||
- require:
|
- require:
|
||||||
- pkg: iptables-pkg
|
- pkg: iptables-pkg
|
||||||
|
@ -89,4 +89,4 @@ iptables-service:
|
|||||||
- name: iptables
|
- name: iptables
|
||||||
- enable: true
|
- enable: true
|
||||||
- require:
|
- require:
|
||||||
- pkg: iptables-pkg
|
- pkg: iptables-pkg
|
||||||
|
@ -5,4 +5,4 @@ java:
|
|||||||
version: "11.0.5"
|
version: "11.0.5"
|
||||||
install_dir: /usr/java
|
install_dir: /usr/java
|
||||||
os: linux
|
os: linux
|
||||||
arch: x64
|
arch: x64
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
|
@ -36,4 +36,4 @@ java_updatealternatives_script:
|
|||||||
|
|
||||||
java_default:
|
java_default:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: {{ java.install_dir }}/default/update-alternatives-java.sh
|
- name: {{ java.install_dir }}/default/update-alternatives-java.sh
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
Linux:
|
Linux:
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -18,4 +18,4 @@ x86_64:
|
|||||||
# arch: arm
|
# arch: arm
|
||||||
|
|
||||||
# armhf:
|
# armhf:
|
||||||
# arch: arm
|
# arch: arm
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
Linux:
|
Linux:
|
||||||
os: "linux"
|
os: "linux"
|
||||||
|
@ -11,4 +11,4 @@
|
|||||||
)
|
)
|
||||||
-%}
|
-%}
|
||||||
|
|
||||||
{%- set lego = salt['pillar.get']('lego', default=defaults, merge=True) -%}
|
{%- set lego = salt['pillar.get']('lego', default=defaults, merge=True) -%}
|
@ -7,4 +7,4 @@
|
|||||||
# locale.system:
|
# locale.system:
|
||||||
# - name: {{ salt["pillar.get"]("locale")|default("en_US.UTF-8") }}
|
# - name: {{ salt["pillar.get"]("locale")|default("en_US.UTF-8") }}
|
||||||
# - require:
|
# - require:
|
||||||
# - locale: locale_present
|
# - locale: locale_present
|
@ -10,4 +10,4 @@ maildb:
|
|||||||
hostname: localhost
|
hostname: localhost
|
||||||
username: username
|
username: username
|
||||||
password: password
|
password: password
|
||||||
database: maildb
|
database: maildb
|
||||||
|
@ -12,4 +12,4 @@ mariadb-config:
|
|||||||
- pkg: mariadb-install-pkgs
|
- pkg: mariadb-install-pkgs
|
||||||
- pip: mariadb-install-pip-pkgs
|
- pip: mariadb-install-pip-pkgs
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: mariadb-service
|
- service: mariadb-service
|
||||||
|
@ -6,4 +6,4 @@ mariadb-database-{{ value.name }}:
|
|||||||
- name: {{ value.name }}
|
- name: {{ value.name }}
|
||||||
- connection_user: {{ mariadb.connection_user }}
|
- connection_user: {{ mariadb.connection_user }}
|
||||||
- connection_pass: {{ mariadb.connection_pass }}
|
- connection_pass: {{ mariadb.connection_pass }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
@ -39,4 +39,4 @@ mariadb:
|
|||||||
table_open_cache: 400
|
table_open_cache: 400
|
||||||
thread_cache_size: 128
|
thread_cache_size: 128
|
||||||
tmp_table_size: 32M
|
tmp_table_size: 32M
|
||||||
wait_timeout: 600
|
wait_timeout: 600
|
||||||
|
@ -4,4 +4,4 @@ include:
|
|||||||
- .config
|
- .config
|
||||||
- .service
|
- .service
|
||||||
- .databases
|
- .databases
|
||||||
- .users
|
- .users
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
mariadb-service:
|
mariadb-service:
|
||||||
service.running:
|
service.running:
|
||||||
- name: mariadb
|
- name: mariadb
|
||||||
- enable: true
|
- enable: true
|
||||||
|
@ -42,7 +42,7 @@ netbox:
|
|||||||
database: 0
|
database: 0
|
||||||
cache_database: 1
|
cache_database: 1
|
||||||
default_timeout: 300
|
default_timeout: 300
|
||||||
ssl: False
|
ssl: false
|
||||||
caching:
|
caching:
|
||||||
host: "localhost"
|
host: "localhost"
|
||||||
port: 6379
|
port: 6379
|
||||||
@ -50,7 +50,7 @@ netbox:
|
|||||||
database: 0
|
database: 0
|
||||||
cache_database: 1
|
cache_database: 1
|
||||||
default_timeout: 300
|
default_timeout: 300
|
||||||
ssl: False
|
ssl: false
|
||||||
admins:
|
admins:
|
||||||
- ['John Doe', 'jdoe@example.com']
|
- ['John Doe', 'jdoe@example.com']
|
||||||
- ['Bob Reptincel', 'breptincel@example.com']
|
- ['Bob Reptincel', 'breptincel@example.com']
|
||||||
@ -60,10 +60,10 @@ netbox:
|
|||||||
base_path: ""
|
base_path: ""
|
||||||
cache_timeout: 900
|
cache_timeout: 900
|
||||||
changelog_retention: 90
|
changelog_retention: 90
|
||||||
cors_origin_allow_all: False
|
cors_origin_allow_all: false
|
||||||
cors_origin_whitelist: []
|
cors_origin_whitelist: []
|
||||||
cors_origin_regex_whitelist: []
|
cors_origin_regex_whitelist: []
|
||||||
debug: False
|
debug: false
|
||||||
email:
|
email:
|
||||||
server: "localhost"
|
server: "localhost"
|
||||||
port: 25
|
port: 25
|
||||||
@ -71,27 +71,27 @@ netbox:
|
|||||||
password: password
|
password: password
|
||||||
timeout: 10
|
timeout: 10
|
||||||
from_email: user@domain.com
|
from_email: user@domain.com
|
||||||
enforce_global_unique: False
|
enforce_global_unique: false
|
||||||
exempt_view_permissions: []
|
exempt_view_permissions: []
|
||||||
logging: {}
|
logging: {}
|
||||||
login_required: False
|
login_required: false
|
||||||
login_timeout: 3600
|
login_timeout: 3600
|
||||||
maintenance_mode: False
|
maintenance_mode: false
|
||||||
max_page_size: 1000
|
max_page_size: 1000
|
||||||
metrics_enabled: False
|
metrics_enabled: false
|
||||||
napalm_username: ''
|
napalm_username: ''
|
||||||
napalm_password: ''
|
napalm_password: ''
|
||||||
napalm_timeout: 30
|
napalm_timeout: 30
|
||||||
napalm_args: {}
|
napalm_args: {}
|
||||||
paginate_count: 50
|
paginate_count: 50
|
||||||
prefer_ipv4: False
|
prefer_ipv4: false
|
||||||
session_file_path: "/tmp"
|
session_file_path: "/tmp"
|
||||||
session_cookie_age: 3600
|
session_cookie_age: 3600
|
||||||
time_zone: "UTC"
|
time_zone: "UTC"
|
||||||
webhooks_enabled: False
|
webhooks_enabled: false
|
||||||
date_format: "N j, Y"
|
date_format: "N j, Y"
|
||||||
short_date_format: "Y-m-d"
|
short_date_format: "Y-m-d"
|
||||||
time_format: "g:i a"
|
time_format: "g:i a"
|
||||||
short_time_format: "H:i:s"
|
short_time_format: "H:i:s"
|
||||||
datetime_format: "N j, Y g:i a"
|
datetime_format: "N j, Y g:i a"
|
||||||
short_datetime_format: "Y-m-d H:i"
|
short_datetime_format: "Y-m-d H:i"
|
||||||
|
@ -3,4 +3,4 @@ include:
|
|||||||
- redis
|
- redis
|
||||||
- .pkgs
|
- .pkgs
|
||||||
- .install
|
- .install
|
||||||
- .service
|
- .service
|
||||||
|
@ -69,4 +69,4 @@ netbox-install-static-files:
|
|||||||
- pythonpath: {{ netbox.install_dir }}/netbox/netbox
|
- pythonpath: {{ netbox.install_dir }}/netbox/netbox
|
||||||
- bin_env: {{ netbox.install_dir }}/netbox
|
- bin_env: {{ netbox.install_dir }}/netbox
|
||||||
- require:
|
- require:
|
||||||
- virtualenv: netbox-virtualenv
|
- virtualenv: netbox-virtualenv
|
||||||
|
@ -5,4 +5,4 @@ netbox_pkg_reqs:
|
|||||||
- pkgs:
|
- pkgs:
|
||||||
{%- for pkg in netbox.pkgs %}
|
{%- for pkg in netbox.pkgs %}
|
||||||
- {{ pkg }}
|
- {{ pkg }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
@ -10,4 +10,4 @@ netbox-service-file:
|
|||||||
netbox-service:
|
netbox-service:
|
||||||
service.running:
|
service.running:
|
||||||
- name: netbox
|
- name: netbox
|
||||||
- enable: true
|
- enable: true
|
||||||
|
@ -3,4 +3,4 @@ netbox:
|
|||||||
sites:
|
sites:
|
||||||
- Caen
|
- Caen
|
||||||
- Saint-Lo
|
- Saint-Lo
|
||||||
- Amsterdam
|
- Amsterdam
|
||||||
|
@ -28,4 +28,4 @@ netbox.create_device_{{ salt['grains.get']('nodename')|to_camelcase }}:
|
|||||||
- role: {{ salt['grains.get']('type') }}
|
- role: {{ salt['grains.get']('type') }}
|
||||||
- manufacturer: default
|
- manufacturer: default
|
||||||
- model: default
|
- model: default
|
||||||
{%- endif %}
|
{%- endif %}
|
@ -3,4 +3,4 @@ include:
|
|||||||
- php
|
- php
|
||||||
- redis
|
- redis
|
||||||
- .install
|
- .install
|
||||||
- .config
|
- .config
|
||||||
|
@ -27,4 +27,4 @@ $CONFIG = array(
|
|||||||
{%- for key, value in nextcloud.config.items() %}
|
{%- for key, value in nextcloud.config.items() %}
|
||||||
"{{ key }}" => {{ mac(value,loop.last) }}
|
"{{ key }}" => {{ mac(value,loop.last) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
);
|
);
|
@ -33,4 +33,4 @@ nextcloud-desktop-icon-entry:
|
|||||||
- source: salt://nextcloud_desktop/nextcloud.desktop
|
- source: salt://nextcloud_desktop/nextcloud.desktop
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: 644
|
- mode: 644
|
||||||
|
@ -7,4 +7,4 @@ Comment=PaulBSD Cloud desktop synchronization client
|
|||||||
GenericName=Folder Sync
|
GenericName=Folder Sync
|
||||||
Icon=/usr/share/icons/nextcloud.png
|
Icon=/usr/share/icons/nextcloud.png
|
||||||
Keywords=Nextcloud;syncing;file;sharing;
|
Keywords=Nextcloud;syncing;file;sharing;
|
||||||
X-GNOME-Autostart-Delay=3
|
X-GNOME-Autostart-Delay=3
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
nftables:
|
nftables:
|
||||||
enabled: true
|
enabled: true
|
||||||
networks:
|
networks: {}
|
||||||
|
@ -19,4 +19,4 @@ nftables-service:
|
|||||||
- name: nftables
|
- name: nftables
|
||||||
- enable: true
|
- enable: true
|
||||||
- require:
|
- require:
|
||||||
- pkg: nftables-pkg
|
- pkg: nftables-pkg
|
||||||
|
@ -45,4 +45,4 @@ add rule ip6 filter6 input ip6 saddr {{ value.ip }}/{{ value.mask }} ct state es
|
|||||||
{%- for key, value in net.public_ports.items() %}
|
{%- for key, value in net.public_ports.items() %}
|
||||||
add rule ip6 filter6 input {{ value.proto }} dport {{ value.port }} ct state established,new counter accept
|
add rule ip6 filter6 input {{ value.proto }} dport {{ value.port }} ct state established,new counter accept
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
#add rule ip6 filter6 input counter log
|
#add rule ip6 filter6 input counter log
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
npf:
|
npf:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -11,4 +11,4 @@ npf-service:
|
|||||||
service.running:
|
service.running:
|
||||||
- name: npf
|
- name: npf
|
||||||
- enable: true
|
- enable: true
|
||||||
- reload: true
|
- reload: true
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user