Hi Matt, an ENC can set an environment for a node. In case that a node does not specify an environment it will make use of environment production. You can specify node environment on the node in puppet.conf in agent section:
[agent] environment = apt Best, Martin On 28 Jan 2016, at 18:13, Matt Zagrabelny <mzagr...@d.umn.edu> wrote: > Hi Alfredo, > > Thanks for the reply. > > On Wed, Jan 27, 2016 at 4:47 PM, Alfredo De Luca > <alfredo.del...@gmail.com> wrote: >> Hi Matt. >> AFAIK production is the default environment assigned to all the nodes. > > Sure. > >> try >> puppet config print environment > > Yep, production: > > # puppet config print environment > production > > So how do I get the warning to go away? > > Warning: Local environment: "production" doesn't match server > specified node environment "apt", switching agent to "apt". > > Any ideas? > > -m > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAOLfK3UAMWc4dEWsspDnkGNkbiEYKSR5vN-CmxTFbP0RhfLAtQ%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/B5B9CC12-7A94-42EF-8AE1-A7F8407F5D72%40gmail.com. For more options, visit https://groups.google.com/d/optout.