I was wondering how to trigger a configration run remotely. Is this possible? Looking through the docs, I see mention that puppet can listen on port 8139, but I don''t see that this is the case on my servers. Can someone please enlighten me as to the proper method of doing this, if it can indeed be done? Thanks!
On 6/12/07 10:17 PM, "Pete Hicks" <petong@jah.net> wrote:> I was wondering how to trigger a configration run remotely. Is this > possible? Looking through the docs, I see mention that puppet can listen > on port 8139, but I don''t see that this is the case on my servers. Can > someone please enlighten me as to the proper method of doing this, if it > can indeed be done?Yes, in the tarball distribution you''ll find puppetrun. Run it as root (or as the user who has access to the certificates) and you''ll be in good shape. I usually do: $ sudo /path/to/puppetrun --confdir=/path/to/conf/dir --host hostname (assuming of course that puppetd is running with --listen. Cheers, Ryan
> I usually do: > > $ sudo /path/to/puppetrun --confdir=/path/to/conf/dir --host hostname > > (assuming of course that puppetd is running with --listen. > > Cheers, > Ryan > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >does it work if puppetd is run by inetd ? -- Cordialement, Ghislain ADNET. AQUEOS. Attention ! Toute demande de support ou commande de domaine par email sera refusée, pour cela utilisez https://support.aqueos.net. Pour tout contact nos coordonnées : http://www.aqueos.com/aqueos-services-informatiques-societe.php Fax: 01.72.70.32.66 _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On 6/13/07 12:54 AM, "ADNET Ghislain" <gadnet@aqueos.com> wrote:> >> I usually do: >> >> $ sudo /path/to/puppetrun --confdir=/path/to/conf/dir --host hostname >> >> (assuming of course that puppetd is running with --listen.> does it work if puppetd is run by inetd ?Honestly I don''t know. I suspect that it would work though. I''d almost have something tickle 8139/tcp first to ensure that puppetd is up and running by the time puppetrun came around to sending a command. Cheers, Ryan