Hi Peter, hi John, 

first: Thanks, putting the setting in [master] actually did something - and 
overriding the commandline setting from SuSE linux ;) . 
right now I am using ...<path>/$environment.pp as manifest file, which 
works beautifully.

and yes, it seems manifest only takes a single file as parameter. (makes 
sense if you think of it - if you define a host two times, which one is 
taken?)


thanks a lot & greetings, 
axel.




Am Freitag, 28. September 2012 03:12:42 UTC+2 schrieb Peter:
>
> Hi Axel,
> I had a similar issue checkout - 
> https://groups.google.com/d/topic/puppet-users/C5Pfg_r_Srs/discussion
>  
> I am not positive however I believe your issue likely falls fowl of the 
> same problem I had, essentially the manifest directive only takes a single 
> file location.
>  
> Peter.
>
> On Monday, September 24, 2012 9:48:56 PM UTC+10, Axel Bock wrote:
>
>> 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.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/1rMkcYHq5jcJ.
To post to this group, send email to puppet-users@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.

Reply via email to