Hello readers,
I am configuring my
environment to have a separate manifest file, using $environment to in the module and manifest path.
For the modules it works now. The site.pp file ... is another issue. I was under the impression it did, but it wasnt.
Basically I did the following:
modulepath = /etc/puppet/environments/$environment/modules:/etc/puppet/modules
manifest = /etc/puppet/environments/$environment/site.pp:/etc/puppet/manifests/site.pp
now when I define a node within an environment _only_ and not within the global site.pp file, It runs - but applies an empty catalog. When I move the node definition to the global site.pp file in /etc/puppet/manifests/site.pp, it works again. The very same defnition, just copied from one file to another. It also does not work when I use single-file/single-directory entries for modulepath and manifest.
Any ideas here? I could use some :)
Thanks & greetings!
Axel.