Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

PE Console Groups & Environments

I'm curious to see if it's possible to use a group's variables to specify an environment in the Puppet Enterprise Console. I have a windows agent that performs as expected for either of these conditions:

  • The agent's puppet.conf specifies environment=puppet_windows
  • Puppet agent is invoked with --environment puppet_windows

I added a new group in the Puppet Enterprise Console called Windows. Then I specified a variable environment, set it to puppet_windows, added the class that is solely in the puppet_windows environment, and lastly added my windows agent to the group.

I would think that this would enable me to remove the windows's puppet.conf environment setting as well as the --environment flag and everything should work, but it doesn't.

Am I trying to do something wrong?