[Puppet Users] relationships, ordering, and defined types

2019-01-22 Thread Matt Zagrabelny
Greetings! I'm running puppet 5.5 on Debian Buster. This exists: define bar::baz() { file { "/tmp/$name": } } ...somewhere else... bar::baz { 'qux': } file { '/tmp/foo': before => Bar::baz['qux'], } But when the catalog gets compiled I get an error: Evaluation Error: Error while eva

Re: [Puppet Users] relationships, ordering, and defined types

2019-01-22 Thread Ben Ford
Caps all segments in a defined type name: before => Bar::Baz['qux'], On Tue, Jan 22, 2019 at 2:20 PM Matt Zagrabelny wrote: > Greetings! > > I'm running puppet 5.5 on Debian Buster. > > This exists: > > define bar::baz() { > file { "/tmp/$name": } > } > > ...somewhere else... > > bar::baz

Re: [Puppet Users] relationships, ordering, and defined types

2019-01-22 Thread Matt Zagrabelny
On Tue, Jan 22, 2019 at 4:22 PM Ben Ford wrote: > Caps all segments in a defined type name: > > before => Bar::Baz['qux'], > > > Huzzah! Thanks Ben! -m -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop r