Oh. I didn't realise that. Thought it was.... darn.... Thanks.

On Wed, Aug 17, 2011 at 10:52 AM, Scott Smith <sc...@ohlol.net> wrote:

> Don't think you need to include if there is a require
> On Aug 17, 2011 9:50 AM, "Douglas Garstang" <doug.garst...@gmail.com>
> wrote:
> > If I have:
> >
> > class service::common {
> > file {
> > '/etc/foo':
> > ensure => directory;
> >
> > '/etc/init.d/ss-functions':
> > content => template('service/etc/init.d/ss-functions.erb'),
> > require => File['/etc/foo'],
> > }
> > }
> >
> > class platform::common {
> > include service::common
> > File {
> > require => Class['service::common']
> > }
> > }
> >
> > then puppet is telling me:
> > Aug 17 09:47:01 test01 puppet-agent[14530]: Could not apply complete
> > catalog: Found 1 dependency cycle: (File[/etc/foo] =>
> Class[Service::Common]
> > => File[/etc/foo]) Try the '--graph' option and opening the resulting
> '.dot'
> > file in OmniGraffle or GraphViz
> >
> > I don't get it. How does /etc/foo depend on Service::Common? I mean, it's
> IN
> > that class... is that why it depends on it? Debugging these is awful...
> >
> > Doug,
> >
> > --
> > 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+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
> >
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>



-- 
Regards,

Douglas Garstang
http://www.linkedin.com/in/garstang
Email: doug.garst...@gmail.com
Cell: +1-805-340-5627

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to