Try A:Foo instead of A::foo.

Trevor


On Wed, Nov 6, 2013 at 3:45 PM, LTH <[email protected]> wrote:

> In module A:
>
> define A::foo(....)
>
> In module B:
>
> require A
>
> file{"bar":
>     require => A::foo['baz']
> }
>
> A::foo{"baz":}
>
> However puppet doesn't seem to like the syntax around
> require=>A::foo['baz'].
>
> Is there a way to do this?
>
> Thanks in advance.
>
> --
> 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/40bb7271-cda4-4480-9aee-2ebed2e8d828%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
[email protected]

-- This account not approved for unencrypted proprietary information --

-- 
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/CANs%2BFoVGhToD-wApzL4oYs2LD6sB7v0K6%3DSoLeSJNRtP1z60aQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to