Ask Your Question
0

Set environment variables on apply

asked 2016-12-06 07:33:48 -0500

puser gravatar image

I have seen examples of how to do this but I can't find it again. How do you set variables on doing a puppet agent.

Something like puppet agent { $environment = "dev" } ?

thanks,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2016-12-06 08:14:34 -0500

you can set them in puppet.conf, or for ad-hoc runs on the command line e.g:

puppet agent -t --environment dev
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-12-06 07:33:48 -0500

Seen: 46 times

Last updated: Dec 06 '16