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:
parent
635227c39b
commit
c98f406a12
@ -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}"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user