Re: [Puppet Users] Run stage introduces dependency cycle

2011-02-01 Thread Felix Frank
On 01/28/2011 11:51 PM, Dan Urist wrote: > On Fri, 28 Jan 2011 11:40:38 -0800 > Nan Liu wrote: > >> You can require disable_upstart class as a conditional by operating >> system and it should be part of your ssh module rather than a separate >> class. > > If I understand correctly, you mean I sh

Re: [Puppet Users] Run stage introduces dependency cycle

2011-01-28 Thread Dan Urist
On Fri, 28 Jan 2011 11:40:38 -0800 Nan Liu wrote: > You can require disable_upstart class as a conditional by operating > system and it should be part of your ssh module rather than a separate > class. If I understand correctly, you mean I shouldn't use run stages at all. The problem with this a

Re: [Puppet Users] Run stage introduces dependency cycle

2011-01-28 Thread Nan Liu
On Fri, Jan 28, 2011 at 11:22 AM, Dan Urist wrote: > On Fri, 28 Jan 2011 11:13:18 -0800 > Nan Liu wrote: > >> This does not appear to be a bug. There's an implicit dependency for >> the file /etc/init/ssh.conf on file resource /etc/init. File /etc/init >> is in stage main, and File /etc/init/ssh.

Re: [Puppet Users] Run stage introduces dependency cycle

2011-01-28 Thread Dan Urist
On Fri, 28 Jan 2011 11:13:18 -0800 Nan Liu wrote: > This does not appear to be a bug. There's an implicit dependency for > the file /etc/init/ssh.conf on file resource /etc/init. File /etc/init > is in stage main, and File /etc/init/ssh.conf in in stage pre which > cause a dependency loop. In thi

Re: [Puppet Users] Run stage introduces dependency cycle

2011-01-28 Thread Nan Liu
On Fri, Jan 28, 2011 at 9:28 AM, Dan Urist wrote: > A little background: I'm using puppet to manage the configurations of a > group of linux vservers running Ubuntu Lucid. Ubuntu has switched to > using upstart for their boot process; unfortunately there are some > peculiar interactions with vserv

Re: [Puppet Users] Run stage introduces dependency cycle

2011-01-28 Thread Dan Urist
I've entered a bug for this: http://projects.puppetlabs.com/issues/6064 On Fri, 28 Jan 2011 11:01:53 -0700 Dan Urist wrote: > On Fri, 28 Jan 2011 09:58:31 -0800 > Patrick wrote: > > > > > On Jan 28, 2011, at 9:28 AM, Dan Urist wrote: > > > > > Now, if /etc/init/ssh.conf exists, puppet will c

Re: [Puppet Users] Run stage introduces dependency cycle

2011-01-28 Thread Dan Urist
On Fri, 28 Jan 2011 09:58:31 -0800 Patrick wrote: > > On Jan 28, 2011, at 9:28 AM, Dan Urist wrote: > > > Now, if /etc/init/ssh.conf exists, puppet will correctly remove it > > and the run will complete without error, but on the *next* and all > > subsequent puppet runs I get a long dependency

Re: [Puppet Users] Run stage introduces dependency cycle

2011-01-28 Thread Patrick
On Jan 28, 2011, at 9:28 AM, Dan Urist wrote: > Now, if /etc/init/ssh.conf exists, puppet will correctly remove it and > the run will complete without error, but on the *next* and all > subsequent puppet runs I get a long dependency cycle error. > > If /etc/init/ssh.conf does not exist, I get no

[Puppet Users] Run stage introduces dependency cycle

2011-01-28 Thread Dan Urist
A little background: I'm using puppet to manage the configurations of a group of linux vservers running Ubuntu Lucid. Ubuntu has switched to using upstart for their boot process; unfortunately there are some peculiar interactions with vservers which causes openssh to hang during upgrade, so I need