You should be versioning all your puppet manifests and modules. You
can then write a simple script to pull down the changes. Once you have
the files you can have the manfiests and modules folder look exactly
like the puppet master and then type something like this to test.

puppet apply /etc/puppet/manifests/site.pp

If you want to test one module you can create that node.pp file, which
imports the module. You will need to create a modules directory and
place your module in that directory then type from command line

puppet apply /path/to/node.pp --modulepath=/path/to/modules/dir

Ensure that modulepath is to the modules directory you created and not
the module itself.

On Tue, Feb 12, 2013 at 5:35 AM, Ralph Bolton <ra...@coofercat.com> wrote:
> Thanks for the suggestion. I did wonder about copying all the modules and
> configs off the Puppet Master onto the test box. My concern is really just
> about keeping that lot up to date, and most importantly to make sure that it
> behaves the same as it would do if it came from the Master. It could be done
> this way, but I'm worried it seems simple now, but will turn into a headache
> later on. If this is the only way to do it, then I guess I'll just have to
> suck it up :-(
>
> This might sound daft, but where's the security issue? If I'm root on a box,
> and I want to do some wacky install on it, then I already can, regardless of
> what Puppet thinks. This wouldn't allow me to change anything on the Puppet
> Master, so I wouldn't be able to alter any boxes except the one I'm on. What
> additional concern would there be for having this as a feature?
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to