Have configs notify service

We've been having issues with the beaker test for centos and this is an
attempt to see if the failures are happening because the service is
running prior to setting up the configs which ends up with a
misconfigured service.

Change-Id: I5238f740c975735bfb35b4bf1901ecb96a59aaaa
This commit is contained in:
Alex Schultz 2016-04-11 21:49:40 -06:00
parent 635227c39b
commit c98f406a12

View File

@ -182,12 +182,15 @@ test -d \$mon_data
",
logoutput => true,
timeout => $exec_timeout,
}
->
}->
service { $mon_service:
ensure => running,
}
# if the service is running before we setup the configs, notify service
Ceph_config<||> ~>
Service[$mon_service]
if $authentication_type == 'cephx' {
if $key {
Exec[$ceph_mkfs] -> Exec["rm-keyring-${id}"]