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 evaluating a Resource Statement, Illegal
class reference
Is it possible to use a defined type with a "before" (or any other
relationship metaparameter) ?
Thanks!
-m
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CAOLfK3V7E47VzhjNSznYTC_UuH%3DK44GsgLuH9y4vnTFy70i5QA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.