biemond-orawls
biemond-orawls copied to clipboard
is restarting a managed server possbile with refreshonly and subscribe ?
I'm trying to restart managed server due to jdbc changes. I have added refreshonly and subscribe to server_instances in hiera but puppet is not restarting the managed server for me.
In other words, can I restart the servers listed in "Server Restart Checklist" at the end of a puppet run ?
it should work, standard orawls behaviour.
if there is a change , subscribe to this change.
see https://github.com/biemond/biemond-orawls-vagrant-12.2.1-puppet4/blob/master/puppet/hieradata/admin.example.com.yaml#L263
https://github.com/biemond/biemond-orawls-vagrant-12.2.1-puppet4/blob/master/puppet/environments/development/manifests/site.pp#L280
I get this error when I run puppet.
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: no parameter named 'refreshonly' on Wls_server[server_1] on node centos.mycorp
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Oh yeah, I was thinking about adminserver
I never do this on managed servera because it is not so important for provisioning, they are down or no need to start them until the end of provisioning. so no conflict or they are on different vm's so that won't work with subscribe.