Peter Berghold
2011-Dec-01 15:34 UTC
SOLVED: [Puppet Users] Another case of auto loader issues...
Almost as soon as I hit "send" I thought of something. I added include "scripts/*" to scripts.pp and it worked like a charm.> >-- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Peter Berghold
2011-Dec-01 15:35 UTC
Re: SOLVED: [Puppet Users] Another case of auto loader issues...
oops... meant import "scripts/*.pp" not include... On Thu, Dec 1, 2011 at 10:34 AM, Peter Berghold <salty.cowdawg@gmail.com>wrote:> > > Almost as soon as I hit "send" I thought of something. > > I added > > include "scripts/*" > > to scripts.pp and it worked like a charm. > >> >> > > > -- > Peter L. Berghold > Owner, Shark River Technical Solutions LLC >-- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Luke Bigum
2011-Dec-01 15:37 UTC
Re: SOLVED: [Puppet Users] Another case of auto loader issues...
That should definitely not be needed and I''d advise against it - you''ve just brute forced past Puppet''s auto loading and you''ve moved into "manual loading" :-) Let me try replicate your module structure and I''ll get back to you. On 01/12/11 15:35, Peter Berghold wrote:> oops... > > meant > > import "scripts/*.pp" > > not include... > > > > On Thu, Dec 1, 2011 at 10:34 AM, Peter Berghold > <salty.cowdawg@gmail.com <mailto:salty.cowdawg@gmail.com>> wrote: > > > > Almost as soon as I hit "send" I thought of something. > > I added > > include "scripts/*" > > to scripts.pp and it worked like a charm. > > > > > > -- > Peter L. Berghold > Owner, Shark River Technical Solutions LLC > > > > > -- > Peter L. Berghold > Owner, Shark River Technical Solutions LLC > -- > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.-- Luke Bigum Information Systems +44 (0) 20 3192 2520 Luke.Bigum@lmax.com | http://www.lmax.com LMAX, Yellow Building, 1A Nicholas Road, London W11 4AN The information in this e-mail and any attachment is confidential and is intended only for the named recipient(s). The e-mail may not be disclosed or used by any person other than the addressee, nor may it be copied in any way. If you are not a named recipient please notify the sender immediately and delete any copies of this message. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Any view or opinions presented are solely those of the author and do not necessarily represent those of the company. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Luke Bigum
2011-Dec-01 15:47 UTC
Re: SOLVED: [Puppet Users] Another case of auto loader issues...
Looks fine on my Puppet Master... that turned out a lot less helpful than I was aiming for ;-) info: Applying configuration version ''1322754170'' notice: /Stage[main]/Tomcat::Scripts::Cleanlogs/File[clean-tomcat-logs-script]/ensure: defined content as ''{md5}d41d8cd98f00b204e9800998ecf8427e'' notice: /Stage[main]/Tomcat::Scripts::Cleanlogs/Cron[clean-tomcat-logs-crontab]/ensure: created That''s with adding a "include tomcat::scripts::cleanlogs" to a node definition. Is there anything on your master''s logs about catalog failures before your test case (search backwards for "tomcat")? On 01/12/11 15:37, Luke Bigum wrote:> That should definitely not be needed and I''d advise against it - > you''ve just brute forced past Puppet''s auto loading and you''ve moved > into "manual loading" :-) > > Let me try replicate your module structure and I''ll get back to you. > > On 01/12/11 15:35, Peter Berghold wrote: >> oops... >> >> meant >> >> import "scripts/*.pp" >> >> not include... >> >> >> >> On Thu, Dec 1, 2011 at 10:34 AM, Peter Berghold >> <salty.cowdawg@gmail.com <mailto:salty.cowdawg@gmail.com>> wrote: >> >> >> >> Almost as soon as I hit "send" I thought of something. >> >> I added >> >> include "scripts/*" >> >> to scripts.pp and it worked like a charm. >> >> >> >> >> >> -- >> Peter L. Berghold >> Owner, Shark River Technical Solutions LLC >> >> >> >> >> -- >> Peter L. Berghold >> Owner, Shark River Technical Solutions LLC >> -- >> You received this message because you are subscribed to the Google >> Groups "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. > > > -- > Luke Bigum > Information Systems > +44 (0) 20 3192 2520 > Luke.Bigum@lmax.com |http://www.lmax.com > LMAX, Yellow Building, 1A Nicholas Road, London W11 4AN > > The information in this e-mail and any attachment is confidential and > is intended only for the named recipient(s). The e-mail may not be > disclosed or used by any person other than the addressee, nor may it > be copied in any way. If you are not a named recipient please notify > the sender immediately and delete any copies of this message. Any > unauthorized copying, disclosure or distribution of the material in > this e-mail is strictly forbidden. Any view or opinions presented are > solely those of the author and do not necessarily represent those of > the company. > -- > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.-- Luke Bigum Information Systems +44 (0) 20 3192 2520 Luke.Bigum@lmax.com | http://www.lmax.com LMAX, Yellow Building, 1A Nicholas Road, London W11 4AN The information in this e-mail and any attachment is confidential and is intended only for the named recipient(s). The e-mail may not be disclosed or used by any person other than the addressee, nor may it be copied in any way. If you are not a named recipient please notify the sender immediately and delete any copies of this message. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Any view or opinions presented are solely those of the author and do not necessarily represent those of the company. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.