[Puppet Users] What the??? Failing dependancies and not sure why...

2011-01-21 Thread Peter Berghold
Observe the following code sniget: user { nagios : comment => "Nagios Host Monitoring Service", shell => "/bin/bash", home => "/home/nagios", ensure => present } file { nagios-homedir : path => "/home/nagios",

Re: [Puppet Users] What the??? Failing dependancies and not sure why...

2011-01-21 Thread Naresh V
On 21 January 2011 22:35, Peter Berghold wrote: > Observe the following code sniget: [...] >     file { >         nagios-ssh-key : >             path => "/home/nagios/.ssh/authorized_keys", >             owner => "nagios", group => "nagios", mode => 0600, >             source => "puppet://puppet/s

Re: [Puppet Users] What the??? Failing dependancies and not sure why...

2011-01-21 Thread Peter Berghold
But that is not what the complaint is. puppet://puppet/... resolves to the same thing as puppet://... in my setup. (Each subnet on my network has a DNS entry for "puppet" pointing to the correct master for that subnet) On Fri, Jan 21, 2011 at 12:14 PM, Naresh V wrote: > On 21 January 2011 22

Re: [Puppet Users] What the??? Failing dependancies and not sure why...

2011-01-21 Thread Peter Berghold
OK... I had the relationship diagram backwards... (slapping self) Instead of key -> directory -> home I should have had home->directory->key Re-reading helps sometimes. -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribe

Re: [Puppet Users] What the??? Failing dependancies and not sure why...

2011-01-21 Thread Nan Liu
On Fri, Jan 21, 2011 at 9:51 AM, Peter Berghold wrote: > OK... > > I had the relationship diagram backwards... (slapping self) > > Instead of  key -> directory -> home I should have had home->directory->key For files puppet will build an implicit dependency. You don't need to specify the relation

Re: [Puppet Users] What the??? Failing dependancies and not sure why...

2011-01-22 Thread Umair Ghani
Try using require user { nagios : comment => "Nagios Host Monitoring Service", shell => "/bin/bash", home => "/home/nagios", ensure => present } file { nagios-homedir : require => User['nagios"], path => "/home/nagios", own