On Mon, 07 Jun 2010, Jay Christopherson wrote:
> err: Could not parse for environment DR: undefined method `to_sym' for
> ["ENV1", "ENV2"]:Array
> 
> The "environment" variable is part of the LDAP node definition and in this
> case, the node in question belongs to two different environments and so has
> two "environment" attribute entries

The concept of an environment is built in to puppet; see
<http://docs.puppetlabs.com/guides/environment.html>.  A node in
puppet must always be in exactly one environment, so setting puppet's
"environment" variable to an array is an error.

I don't know how you could prevent the LDAP "environment" variable from
being copied to the puppet "environment" variable, or prevent the LDAP
server from reporting the value of that variable, but perhaps you could
rename the LDAP variable?

--apb (Alan Barrett)

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

Reply via email to