Hi all,

I am using puppet with an ENC script. In this scripts YAML output the
environment (generally "production") is set.

For testing purposes I would like to start puppet runs from the
cmdline of a managed host like:
$ puppet agent --onetime --no-daemonize  --verbose  --no-splay
--environment development

The problem is the --environment Parameter is not being used if an
environment is already set in the ENC. The ENC environment settings
seems to always win over the cmdline. Is the the desired behavior?

I would like to set all configuration (incl. environment) in the ENC,
but want to be able to override it from the cmdline.
(BTW: switching the environment from the cmdline works, when I remove
the line from the ENC.)

Thanks and bye,
Frederik

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

Reply via email to