[WIP] Remove mon restart from puppet
Remove mon restart from puppet Signed-off-by: Vinicius Lopes da Silva <vinicius.lopesdasilva@windriver.com> Change-Id: Ie108392f6121d860da67da2af353a20917f45bbd
This commit is contained in:
parent
e223b96ac4
commit
cea079e67b
|
@ -939,7 +939,11 @@ class platform::ceph::upgrade::runtime
|
|||
'mon/mon warn on insecure global id reclaim allowed': value => false;
|
||||
'mon/auth allow insecure global id reclaim': value => true;
|
||||
'mon.controller-0/mon_addr': ensure => absent;
|
||||
} -> Exec['Restart Ceph Monitor']
|
||||
} -> exec { 'Removing ceph warnings':
|
||||
command => 'ceph config set mon mon_warn_on_insecure_global_id_reclaim false;\
|
||||
ceph config set mon mon_warn_on_insecure_global_id_reclaim_allowed false;\
|
||||
ceph config set mon auth_allow_insecure_global_id_reclaim false'
|
||||
}
|
||||
} else {
|
||||
# 2 node configuration, we have a floating monitor
|
||||
$mon_host = $floating_mon_addr
|
||||
|
@ -955,10 +959,6 @@ class platform::ceph::upgrade::runtime
|
|||
|
||||
ceph_config {
|
||||
'global/mon_host': value => $mon_host;
|
||||
} -> Exec['Restart Ceph Monitor']
|
||||
|
||||
exec { 'Restart Ceph Monitor' :
|
||||
command => '/etc/init.d/ceph restart mon',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue