Displaying 2 results from an estimated 2 matches for "server_class".
2012 Aug 09
1
Class using if/else w/ multiple if conditions
..._name = "zabbix"
if $datacenter == ''boston'' {
$zabbix_server = ''yoda.enernoc.net''}
else {
$zabbix_server = ''vader.enernoc.net''}
# Determine server class. Remove agent from qa, tst and dev server classes
if (( $server_class == ''qa[a-z0-9]'' ) or ( $server_class == ''tst'' ) or (
$server_class == ''dev'' )) {
package { "zabbix-agent":
ensure => absent,
}}
else {...
2012 Feb 08
10
puppetd hanging on some nodes
Hi All,
In my set-up, I''ve got a cron job that triggers a Puppet run every 20
minutes. I''ve found that on approximately 13 nodes (out of 166),
puppetd just hangs. I have to go in, kill the process, remove
/var/lib/puppet/state/puppetdlock, and run puppet again and then it''s
fine.
After a while, it just hangs again so I have to go in, kill the process, etc.
Any ideas?