How to execute this puppetrun  command

Posted on 2010-01-04
Medium Priority
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 web.myhoset.com

but it does not execute anything

so whats the right prefix for this ??


[ Please no website link ]

Question by:fosiul01

Accepted Solution

martin_2110 earned 1800 total points
ID: 26174022
Have a look at this. I think you need to setup  /etc/puppet/namespaceauth.conf on the client.
http://reductivelabs.com/trac/puppet/wiki/NameSpaceAuth 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

eeBreeze earned 200 total points
ID: 26186142
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.

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month16 days, 13 hours left to enroll

864 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