Hi,
Check out this thread in the pe-users group :
https://groups.google.com/a/puppetlabs.com/forum/#!topic/pe-users/k9oEsDEoSqc
I will post a blog soon, but was distracted by other things about this
topic. You can always check johan.koewacht.net.
Grts
Johan
On 17/01/15 00:11, warpig wrote:
Hi All,
I've recently set up a PE 3.7.0 deployment, with the idea of setting
up a basic ENC using Hiera. In order for the environment-specific
manifests to be applied to each agent, I set the environment within
the agent's puppet.conf. Unfortunately, when I run an agent against
the puppetmaster, I get the following warning:
# puppet agent -t --environment=development
Warning: Local environment: "development" doesn't match server
specified node environment "production", switching agent to "production".
Obviously, the classes defined in the "development" environment aren't
applied. My site.pp is a stock, with the exception of the line
"hiera_include('classes')".
It seems from all the documentation that PE would prefer users to do a
lot of pointing and clicking in the dashboard to assign nodes to node
groups. Is there a more automated method without using the dashboard?
It seems the "agent-specified" environment is on it's way out. My
question then is: what is the preferred method of assigning nodes to
environments without using the dashboard?
Cheers!
--
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
<mailto:puppet-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/1bb8aa59-f630-489d-8b6c-7c4a28dbcc33%40googlegroups.com
<https://groups.google.com/d/msgid/puppet-users/1bb8aa59-f630-489d-8b6c-7c4a28dbcc33%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Johan De Wit
Open Source Consultant
Red Hat Certified Engineer (805008667232363)
Puppet Certified Professional 2013/2014 (PCP0000006)
blog : http://johan.koewacht.net/
_________________________________________________________
Open-Future Phone +32 (0)2/255 70 70
Zavelstraat 72 Fax +32 (0)2/255 70 71
3071 KORTENBERG Mobile +32 (0)474/42 40 73
BELGIUM http://www.open-future.be
_________________________________________________________
Next Events:
Bacula Administrator 1 |
http://www.open-future.be/bacula-administrator-i-training-13th-till-15th-january
Puppet Fundamentals |
http://www.open-future.be/puppet-fundamentals-training-26th-till-28th-january
Puppet Architect |
http://www.open-future.be/puppet-architect-training-29th-till-30th-january
Linux Training | http://www.open-future.be/linux-training-9th-till-13th-february
Puppet Practitioner |
http://www.open-future.be/puppet-practitioner-training-17th-till-19th-february
Bacula Administrator 1 |
http://www.open-future.be/bacula-administrator-i-training-24th-till-26th-february
Subscribe to our newsletter | http://eepurl.com/BUG8H
--
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/54BA6318.9000508%40open-future.be.
For more options, visit https://groups.google.com/d/optout.