Re: [Puppet Users] Installing several packages in order

2010-06-16 Thread Alan Barrett
On Wed, 16 Jun 2010, Thomas Bellman wrote: > >in my case I want each package to explicitly depend on its predecessor > >in the array. > > How about this: Thank you! I would eventually have written something involving two defines calling eack other, with inline_template to munge the arguments, bu

Re: [Puppet Users] Installing several packages in order

2010-06-16 Thread Thomas Bellman
On 2010-06-16 19:21, Alan Barrett wrote: No, that won't install the packages in any specific order. There are no explicit or implicit dependencies between apckages in your example, but in my case I want each package to explicitly depend on its predecessor in the array. How about this: de

Re: [Puppet Users] Installing several packages in order

2010-06-16 Thread Alan Barrett
On Wed, 16 Jun 2010, Roy Nielsen wrote: > I've got a file resource that makes sure a specific directory tree > is created.. > > $dirs = ["/var", "/var/lanl", "/var/lanl/puppet"] > > @file { $dirs : > ensure => directory, > owner => "root", > group => "wheel", > mode => 755

Re: [Puppet Users] Installing several packages in order

2010-06-16 Thread Roy Nielsen
Hello Alan, I've got a file resource that makes sure a specific directory tree is created.. $dirs = ["/var", "/var/lanl", "/var/lanl/puppet"] @file { $dirs : ensure => directory, owner => "root", group => "wheel", mode => 755, links => follow, } I would think th

[Puppet Users] Installing several packages in order

2010-06-15 Thread Alan Barrett
I have some software with a list of patches that need to be installed in order. Different hosts want different patches (e.g. development hosts get patches that are not yet ready for production). Obviously I can do this: package { "basepackage": ensure => present, } package {