Hi, I have Redhat 9 & RHEL 4.2 with puppet clients installed. When is use puppetd -test the updates get effected, but when when running them as daemon mode nothing happens. ## Nothing Happens - no change is detected /etc/init.d/puppet status puppetd (pid 15538) is running... ## When running manually puppetd -test the changes from server gets updated. Is there any way I can push from server rather then client. Also in Redhat 9 I have to use CRTL+c to terminate puppetd -test - how I make it run once. Bcos if the daemon mode doesn''t works I cant pu them in cron. But the daemon mode wotj fine on CentOS 4.5 -- Deepak _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Dec 14, 2007, at 7:11 PM, Deepak Naidu wrote:> Hi, > > I have Redhat 9 & RHEL 4.2 with puppet clients installed. > > > > When is use puppetd –test the updates get effected, but when when > running them as daemon mode nothing happens. > > > > ## Nothing Happens – no change is detectedNothing ever happens, or what? It should wake up every half an hour and run.> ## When running manually puppetd –test the changes from server gets > updated. > > Is there any way I can push from server rather then client.Use puppetrun.> Also in Redhat 9 I have to use CRTL+c to terminate puppetd –test – > how I make it run once. Bcos if the daemon mode doesn’t works I > cant pu them in cron.puppetd --onetime (and add --no-daemonize in 0.24.0). -- Sometimes I think we''re alone. Sometimes I think we''re not. In either case, the thought is staggering. --R. Buckminster Fuller --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
David Lutterkort
2007-Dec-17 22:39 UTC
Re: Puppet daemon not working -- works with cmd line
On Fri, 2007-12-14 at 17:11 -0800, Deepak Naidu wrote:> Hi, > > I have Redhat 9 & RHEL 4.2 with puppet clients installed.RH9 is so ancient, I am amazed you got puppet to work on it ;)> When is use puppetd –test the updates get effected, but when when > running them as daemon mode nothing happens.What version of puppet are you using ? And what version of ruby ? Can you include the output from your logfiles that a run in daemon mode produces ?> Is there any way I can push from server rather then client.puppetrun lets you do that. But it requires that your clients all listen on a port for incoming connections.> Also in Redhat 9 I have to use CRTL+c to terminate puppetd –test – how > I make it run once. Bcos if the daemon mode doesn’t works I cant pu > them in cron.You can run the client with the nonstandard 'once' option, i.e., doing '/etc/init.d/puppet once -v --noop' will run the client just once, without backgrounding it. Puppet's command line supports that directly, too; see the output of '/usr/sbin/puppetd --genconfig' for details> But the daemon mode wotj fine on CentOS 4.5CentOS 4.5 corresponds to RHEL 4.5 ... is there any way you can update your RHEL machines to the latest available update level, too ? David _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users