collectd: modified collectd scripts directory and scripts files right so that only _collectd group can execute them
This commit is contained in:
parent
6f97857b91
commit
e4bc6c1d97
|
@ -70,6 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
* base: install bash, now needed for zzz_evobackup script
|
* base: install bash, now needed for zzz_evobackup script
|
||||||
* base: dump-server-state.sh upstream release 23.03
|
* base: dump-server-state.sh upstream release 23.03
|
||||||
* post-install: execute motd-carp-state.sh only once an hour
|
* post-install: execute motd-carp-state.sh only once an hour
|
||||||
|
* collectd: modified collectd scripts directory and scripts files right so that only _collectd group can execute them
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
file:
|
file:
|
||||||
path: /usr/local/share/collectd/scripts
|
path: /usr/local/share/collectd/scripts
|
||||||
state: directory
|
state: directory
|
||||||
|
owner: "root"
|
||||||
|
group: "_collectd"
|
||||||
|
mode: "0710"
|
||||||
when: collectd_plugin_exec_ifq_drops or collectd_plugin_exec_dns_stats or collectd_plugin_exec_dhcp_pool
|
when: collectd_plugin_exec_ifq_drops or collectd_plugin_exec_dns_stats or collectd_plugin_exec_dhcp_pool
|
||||||
tags:
|
tags:
|
||||||
- collectd
|
- collectd
|
||||||
|
@ -34,7 +37,9 @@
|
||||||
copy:
|
copy:
|
||||||
src: ifq_drops.sh
|
src: ifq_drops.sh
|
||||||
dest: /usr/local/share/collectd/scripts/ifq_drops.sh
|
dest: /usr/local/share/collectd/scripts/ifq_drops.sh
|
||||||
mode: 0755
|
owner: "root"
|
||||||
|
group: "_collectd"
|
||||||
|
mode: "0710"
|
||||||
force: true
|
force: true
|
||||||
when: collectd_plugin_exec_ifq_drops
|
when: collectd_plugin_exec_ifq_drops
|
||||||
tags:
|
tags:
|
||||||
|
@ -52,7 +57,9 @@
|
||||||
copy:
|
copy:
|
||||||
src: dns_stats.sh
|
src: dns_stats.sh
|
||||||
dest: /usr/local/share/collectd/scripts/dns_stats.sh
|
dest: /usr/local/share/collectd/scripts/dns_stats.sh
|
||||||
mode: 0755
|
owner: "root"
|
||||||
|
group: "_collectd"
|
||||||
|
mode: "0710"
|
||||||
force: true
|
force: true
|
||||||
when: collectd_plugin_exec_dns_stats
|
when: collectd_plugin_exec_dns_stats
|
||||||
tags:
|
tags:
|
||||||
|
@ -78,7 +85,9 @@
|
||||||
copy:
|
copy:
|
||||||
src: dhcp_pool.pl
|
src: dhcp_pool.pl
|
||||||
dest: /usr/local/share/collectd/scripts/dhcp_pool.pl
|
dest: /usr/local/share/collectd/scripts/dhcp_pool.pl
|
||||||
mode: 0755
|
owner: "root"
|
||||||
|
group: "_collectd"
|
||||||
|
mode: "0710"
|
||||||
force: true
|
force: true
|
||||||
when: collectd_plugin_exec_dhcp_pool
|
when: collectd_plugin_exec_dhcp_pool
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue