Thanks a lot - that worked :-)

Am Montag, 8. Februar 2016 10:45:25 UTC+1 schrieb Greg Sutcliffe:
>
>
> On 2 February 2016 at 18:31, Timotheus Titus <spqrinco...@gmail.com 
> <javascript:>> wrote:
>
>> As far as I see I have to call bacula::director::client somehow as it 
>> defines the client-config.
>>
>> But the question is: How can I do that?
>>
>>
> I'm not familiar with the bacula module, but bacula::director::client 
> seems to be a define rather than a class. ENCs (which is what Foreman is to 
> Puppet) cannot directly declare defines, they can can only declare classes 
> and parameters.
>
> The common pattern for this is to use a wrapper class, taking hash of data 
> that you can use with create_resources. We get this question a lot on the 
> Foreman mailing list, so we have a wiki page detailing some examples. See 
> http://projects.theforeman.org/projects/foreman/wiki/Instantiate_Puppet_resources
>
> Hope that helps!
> Greg
> --
> Greg Sutcliffe
> IRC: gwmngilfen 
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/aab08b83-6b87-4e2a-b799-fc141e2b8fe4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to