the default is 30 minutes. What is the option to pass to puppetd to make it update every 4 or 6 hours? I am using Fedora 7/8 RPM thanks ================Barrow Kwan ThoughtWorks, Inc. New from ThoughtWorks: Mingle, an Agile project management application. Mingle. Project Intelligence. Powerfully Simple. More at http://studios.thoughtworks.com _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
Set a value for runinterval under [puppetd] in the puppet.conf file. [puppetd] #run every 4 hours runinterval=14400 -Evan Barrow H Kwan wrote:> > the default is 30 minutes. What is the option to pass to puppetd to > make it update every 4 or 6 hours? I am using Fedora 7/8 RPM > > thanks > > ================> Barrow Kwan > ThoughtWorks, Inc. > > New from ThoughtWorks: Mingle, an Agile project management application. > Mingle. Project Intelligence. Powerfully Simple. > More at http://studios.thoughtworks.com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users-- Evan Borgstrom <evan@fatbox.ca> FatBox Inc. 720 King St West, Suite 126 Toronto, Ontario, M5V 3S5 t:416.833.3763 | f:888.829.5963 msn: evan@fatbox.ca | aim: evan@fatbox.ca
On 19/02/2008, Barrow H Kwan <bhkwan@thoughtworks.com> wrote:> > the default is 30 minutes. What is the option to pass to puppetd to make it > update every 4 or 6 hours? I am using Fedora 7/8 RPM/etc/puppet/puppet.conf [puppetd] # run puppetd every 4 hours runinterval = 14400 Kent
Barrow H Kwan wrote:> the default is 30 minutes. What is the option to pass to puppetd to > make it update every 4 or 6 hours? I am using Fedora 7/8 RPMTake a look through "puppetd --genconfig": # How often puppetd applies the client configuration; in seconds. # The default value is ''1800''. # runinterval = 1800 So set runinterval = 14400. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ When playing Russian roulette the short term odds are on your side. _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
or use cron to run "puppetd --onetime" On 2/20/08, Evan Borgstrom <evan@fatbox.ca> wrote:> Set a value for runinterval under [puppetd] in the puppet.conf file. > > > [puppetd] > #run every 4 hours > runinterval=14400 > > > -Evan > > > Barrow H Kwan wrote: > > > > the default is 30 minutes. What is the option to pass to puppetd to > > make it update every 4 or 6 hours? I am using Fedora 7/8 RPM > > > > thanks > > > > ================> > Barrow Kwan > > ThoughtWorks, Inc. > > > > New from ThoughtWorks: Mingle, an Agile project management application. > > Mingle. Project Intelligence. Powerfully Simple. > > More at http://studios.thoughtworks.com > > > > > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > > Puppet-users mailing list > > Puppet-users@madstop.com > > https://mail.madstop.com/mailman/listinfo/puppet-users > > > -- > Evan Borgstrom <evan@fatbox.ca> > FatBox Inc. > 720 King St West, Suite 126 > Toronto, Ontario, M5V 3S5 > t:416.833.3763 | f:888.829.5963 > msn: evan@fatbox.ca | aim: evan@fatbox.ca > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >-- Huang Mingyou
Help? I just installed puppet on rhel5 from the yum repo. Here''s what I get, while following the install guide: [root@puppetmaster1 init.d]# /usr/sbin/puppetd --server puppetmaster1 --waitforcert 60 --test /usr/lib/ruby/1.8/openssl/ssl.rb:91:in `post_connection_check'': hostname not match with the server certificate (OpenSSL::SSL::SSLError) from /usr/lib/ruby/1.8/net/http.rb:588:in `connect'' from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' from /usr/lib/ruby/1.8/net/http.rb:548:in `start'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/client.rb: 128:in `start'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/client.rb:99:in `initialize'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb: 203:in `initialize'' from /usr/sbin/puppetd:312:in `new'' from /usr/sbin/puppetd:312 Yes, I''m just trying to make the client talk to the server, on the same box. So.......what now?
Well, the error is pretty clear: "hostname not match with the server certificate" Run the ''hostname'' command. Whatever is returned, use as your --server argument. On Thu, Feb 21, 2008 at 11:32 AM, Jonathan Mills <jonmills@email.unc.edu> wrote:> Help? > > I just installed puppet on rhel5 from the yum repo. Here''s what I > get, while following the install guide: > > > [root@puppetmaster1 init.d]# /usr/sbin/puppetd --server puppetmaster1 > --waitforcert 60 --test > /usr/lib/ruby/1.8/openssl/ssl.rb:91:in `post_connection_check'': > hostname not match with the server certificate (OpenSSL::SSL::SSLError) > from /usr/lib/ruby/1.8/net/http.rb:588:in `connect'' > from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' > from /usr/lib/ruby/1.8/net/http.rb:548:in `start'' > from /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/client.rb: > 128:in `start'' > from /usr/lib/ruby/site_ruby/1.8/puppet/network/client.rb:99:in > `initialize'' > from /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb: > 203:in `initialize'' > from /usr/sbin/puppetd:312:in `new'' > from /usr/sbin/puppetd:312 > > > > Yes, I''m just trying to make the client talk to the server, on the > same box. So.......what now? > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >
Unfortunately that''s exactly what I did, and it doesn''t work. Do I need to manually generate the SSL certs used by puppetmasterd? Is there a command to display the currently used certs, if they exist, so I can see what hostname it''s expecting? On Feb 21, 2008, at 3:44 PM, Paul Lathrop wrote:> Well, the error is pretty clear: "hostname not match with the server > certificate" > > Run the ''hostname'' command. Whatever is returned, use as your -- > server argument. > > On Thu, Feb 21, 2008 at 11:32 AM, Jonathan Mills <jonmills@email.unc.edu > > wrote: >> Help? >> >> I just installed puppet on rhel5 from the yum repo. Here''s what I >> get, while following the install guide: >> >> >> [root@puppetmaster1 init.d]# /usr/sbin/puppetd --server puppetmaster1 >> --waitforcert 60 --test >> /usr/lib/ruby/1.8/openssl/ssl.rb:91:in `post_connection_check'': >> hostname not match with the server certificate >> (OpenSSL::SSL::SSLError) >> from /usr/lib/ruby/1.8/net/http.rb:588:in `connect'' >> from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' >> from /usr/lib/ruby/1.8/net/http.rb:548:in `start'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/network/xmlrpc/ >> client.rb: >> 128:in `start'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/network/client.rb: >> 99:in >> `initialize'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/network/client/ >> master.rb: >> 203:in `initialize'' >> from /usr/sbin/puppetd:312:in `new'' >> from /usr/sbin/puppetd:312 >> >> >> >> Yes, I''m just trying to make the client talk to the server, on the >> same box. So.......what now? >> _______________________________________________ >> Puppet-users mailing list >> Puppet-users@madstop.com >> https://mail.madstop.com/mailman/listinfo/puppet-users >> > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users