Re: [Puppet Users] Include module only if exists (per hostname modules)

2011-01-13 Thread Daniel Pittman
On Jan 13, 2011 8:16 AM, "Mohamed Lrhazi" wrote: > > Sorry if this is RTFM... > I added code like so to my config: […] > include "m_$hostname" > > Now host akubra gets its module fine, but other hosts log an error > about their module not being found. > > Is there a way to avoid the errors? Pup

[Puppet Users] Include module only if exists (per hostname modules)

2011-01-13 Thread Mohamed Lrhazi
Sorry if this is RTFM... I added code like so to my config: [master] templatedir = /etc/puppet/environments/$environment/ modulepath = /etc/puppet/environments/$environment/modules:/etc/puppet/environments/$environment/modules/per_host manifest= /etc/puppet/environments/$environ