Thanks but I still get a syntax error when doing

file{"bar":
    require => A:foo['baz']
}



On Wednesday, November 6, 2013 10:01:10 PM UTC-5, Trevor Vaughan wrote:
>
> Try A:Foo instead of A::foo.
>
> Trevor
>
>
> On Wed, Nov 6, 2013 at 3:45 PM, LTH <[email protected] <javascript:>> 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] <javascript:>.
>> 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] <javascript:>
>
> -- 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/4a22a15c-5dba-4060-bc04-05b40240e6ef%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to