Caps all segments in a defined type name:

before => Bar::Baz['qux'],


On Tue, Jan 22, 2019 at 2:20 PM Matt Zagrabelny <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/puppet-users/CAOLfK3V7E47VzhjNSznYTC_UuH%3DK44GsgLuH9y4vnTFy70i5QA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CACkW_L6iaXfFhz8%3D4QK2YM0iMufJb8NaicOTvYVGg5LY1%2BhK5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to