Re: [Puppet Users] Title on file resources

2014-01-14 Thread Justin Lambert
Thanks for the response Joseph - that does help that you had the same situation. That was the only solution I could think of, I was just hoping there was some other way. I’m going to guess it is something to do with scoping of how the catalog is compiled, but I don’t know enough about the pup

Re: [Puppet Users] Title on file resources

2014-01-14 Thread Joseph Swick
On 01/14/2014 05:12 PM, Justin Lambert wrote: > I’m attempting to create a bunch of symlinks based on an array of filenames > but I can’t figure out how to use the title of the resource within the > resource itself. > > class app::config { > file { [ 'a.conf', 'b.conf' ]: > ensure => 'link

[Puppet Users] Title on file resources

2014-01-14 Thread Justin Lambert
I’m attempting to create a bunch of symlinks based on an array of filenames but I can’t figure out how to use the title of the resource within the resource itself. class app::config { file { [ 'a.conf', 'b.conf' ]: ensure => 'link', path => "/etc/app/${name}", target => "/usr/app