evolinux-base: configure cciss-vol-statusd in the proper file
continuous-integration/drone/push Build is passing Détails

The default file should be used for configuration instead of the init 
script.
Cette révision appartient à :
Jérémy Lecour 2020-04-10 11:35:33 +02:00 révisé par Jérémy Lecour
Parent 35549d2dea
révision f2613e91aa
3 fichiers modifiés avec 11 ajouts et 3 suppressions

Voir le fichier

@ -60,6 +60,7 @@ The **patch** part changes incrementally at each release.
* evocheck: cron jobs execute in verbose
* evolinux-base: use "evolinux_internal_group" for SSH authentication
* evolinux-base: Don't customize the logcheck recipient by default.
* evolinux-base: configure cciss-vol-statusd in the proper file
* evomaintenance: upstream release 0.6.3
* evomaintenance: Turn on API by default (instead of DB)
* evomaintenance: install PG dependencies only when needed

Voir le fichier

@ -52,17 +52,24 @@
- ssacli
state: present
- name: Configure packages for HP hardware
- name: cciss-vol-statusd init script is present
template:
src: hardware/cciss-vol-statusd.j2
dest: /etc/init.d/cciss-vol-statusd
mode: "0755"
- name: Configure cciss-vol-statusd
lineinfile:
dest: /etc/default/cciss-vol-statusd
line: 'MAILTO="{{ raid_alert_email or general_alert_email | mandatory }}"'
regexp: 'MAILTO='
create: yes
- name: Enable HP hardware in systemd
service:
name: cciss-vol-statusd
enabled: true
state: started
state: restarted
when: "'Hewlett-Packard Company Smart Array' in raidmodel.stdout"
- name: MegaRAID SAS package is present

Voir le fichier

@ -20,7 +20,7 @@ PIDFILE=/var/run/$NAME.pid
STATUSFILE=/var/run/$NAME.status
SCRIPTNAME=/etc/init.d/$NAME
MAILTO="{{ raid_alert_email or general_alert_email | mandatory }}" # Where to report problems
MAILTO="root" # Where to report problems
PERIOD=600 # Seconds between each check (default 10 minutes)
REMIND=86400 # Seconds between each reminder (default 2 hours)
RUN_DAEMON=yes