Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the preferred method (or any for that matter) to tell puppet nodes to update when I make a change to site.pp for instance and need it deployed right away?

I have thought of pssh-ing to the nodes and executing 'sudo puppetd --test' on each one. I was wondering if there are better/other ways to do this.

share|improve this question
up vote 1 down vote accepted

You can do that with enabling "runner" service throug "listen" option in puppet client.

share|improve this answer
    
specifically the puppetrun command on the puppetmaster (or perhaps from elsewhere if you enable it via namespaceauth.conf. – Brian De Smet May 28 '09 at 23:22
    
Thanks for the response guys. I read the puppetrun man and tried a few things to no avail. To set this up all I need to do is add namespaceauth.conf allowing connetions in [puppetrunner] and on the client setting listen = true from within [puppetd] right? And then of course run puppetrun --host from the puppetmaster. did I leave anything out that I must do to set this up? – razor May 29 '09 at 0:16
    
Think I found the problem.. There is a bug in puppetrun 0.24.5 that prevents it from working. see: projects.reductivelabs.com/issues/1500 – razor May 29 '09 at 0:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.