Fix vagrant provisioning for icinga1.x access
This commit is contained in:
parent
920c027990
commit
d4a4cf90ad
|
@ -202,7 +202,7 @@ exec { 'iptables-allow-http':
|
||||||
|
|
||||||
exec { 'icinga-htpasswd':
|
exec { 'icinga-htpasswd':
|
||||||
creates => '/usr/share/icinga/htpasswd.users',
|
creates => '/usr/share/icinga/htpasswd.users',
|
||||||
command => 'mkdir /usr/share/icinga && htpasswd -b -c /usr/share/icinga/htpasswd.users icingaadmin icinga',
|
command => 'mkdir -p /usr/share/icinga && htpasswd -b -c /usr/share/icinga/htpasswd.users icingaadmin icinga',
|
||||||
require => Class['apache']
|
require => Class['apache']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue