Re: [Puppet Users] Resource ordering syntax

2015-01-20 Thread jcbollinger
On Monday, January 19, 2015 at 5:33:26 AM UTC-6, Andrew Langhorn wrote: > > Thanks Martin! That makes sense. > Is it not possible to refer to the entire resource, then, when the title > is used as the declaration? > > I don't understand the question. It is not possible to refer to *less than*

Re: [Puppet Users] Resource ordering syntax

2015-01-19 Thread Andrew Langhorn
Thanks Martin! That makes sense. Is it not possible to refer to the entire resource, then, when the title is used as the declaration? Andrew On Sunday, 18 January 2015 13:50:05 UTC, Martin Alfke wrote: > > When using an array on a resource title Puppet will internally create > multiple resource

Re: [Puppet Users] Resource ordering syntax

2015-01-18 Thread Martin Alfke
When using an array on a resource title Puppet will internally create multiple resource declarations. e.g. when declaring like this: package { [‘foo’, ‘bar’, ‘bas’]: ensure => present } You can build references on each of the array elements: require => Package[‘bas’] see: https://docs.puppetl

[Puppet Users] Resource ordering syntax

2015-01-17 Thread Andrew Langhorn
Hi, I have a syntax query, I hope that the group can help with. When using resource ordering parameters, such as 'before' or 'require', I can specify the resource on which to act the ordering around. For instance: exec { 'wget-docker-key': command => '/usr/bin/wget -qO- https://get.docker.io