Why can't variables be reassigned with a setup like this? node /.*mydomain.com/ { import mydomain.pp }
node /*.yourdomain.com/ { import yourdomain.pp } In manifest mydomain.pp and yourdomain.pp I have variables that are specific to that site that I want to import only for that site (ie, dns_nameserver ldap_server). I get errors that variable cannot be reassigned. My reasoning for wanting to separate everything into separate site specific manifests is mostly because my nodes.pp is getting way too cluttered and difficult to manage (over 1k lines of code). It looks like stuff is getting imported regardless of the node type (case statements also show the same behavior). err: Could not retrieve catalog from remote server: Error 400 on SERVER: Cannot reassign variable site_id at /etc/puppet/manifests/nodes/mydomain.pp:5 on node host.yourdomain.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.