puppet apply -- override node name, module path

753 views
Skip to first unread message

Martin Langhoff

unread,
May 24, 2013, 6:39:08 PM5/24/13
to puppet...@googlegroups.com
Hi folks,

testing puppet configs, I have

/home/martin/mytestingpuppetconfigs/{manifests,modules}

and while working in there, I would like to be able to say something
along the lines of:

puppet apply --noop --nodename=foo01 --modulepath=./modules manifests/site.pp

which should tell me what puppet wants to do to my system.

Is there any practical way to achieve this? I am not planning on
having one test VM per "victim" system :-p

cheers,


m
--
martin....@gmail.com
- ask interesting questions
- don't get distracted with shiny stuff - working code first
~ http://docs.moodle.org/en/User:Martin_Langhoff

Nan Liu

unread,
May 24, 2013, 9:46:37 PM5/24/13
to puppet...@googlegroups.com
On Fri, May 24, 2013 at 3:39 PM, Martin Langhoff <martin....@gmail.com> wrote:
Hi folks,

testing puppet configs, I have

  /home/martin/mytestingpuppetconfigs/{manifests,modules}

and while working in there, I would like to be able to say something
along the lines of:

 puppet apply --noop --nodename=foo01 --modulepath=./modules manifests/site.pp

which should tell me what puppet wants to do to my system.

Is there any practical way to achieve this? I am not planning on
having one test VM per "victim" system :-p

I believe you can do:

puppet apply --certname=foo01 ...


HTH,

Nan
 

Reply all
Reply to author
Forward
0 new messages