How to execute this puppetrun  command

Posted on 2010-01-04
Last Modified: 2012-05-08

i am little bit of confused about how to run this puppertun command

i read in googly, and puppet help page. but still confused

so if any body used puppet before, please help me with this

I want to forcefully update client after changing file in puppet server.

so command is puppetrun..

sudo puppetrun -p 10 --host host1 --host host2 -t remotefile -t webserver

i need to use this on  my purpose

so i did

puppetrun -p 10 --hose

but it does not execute anything

so whats the right prefix for this ??


[ Please no website link ]

Question by:fosiul01
    LVL 7

    Accepted Solution

    Have a look at this. I think you need to setup  /etc/puppet/namespaceauth.conf on the client. also have a look at the man page for puppetrun.

    I think you need the following on the client.
               allow puppetmaster.

    You also need to start puppetd on the client with --listen

    Assisted Solution

    Instead of using puppetrun I use the "puppetd --test" command for what you want to accomplish.  The test parameter is a little misleading, but is basically a combination of 2 or 3 other parameters that will do a one time configuration run on that client.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
    rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now