On 8-3-2017 20:54, Brian Jackey wrote:

Hello folks, brand new Puppet admin here, so please go easy on me. I'm trying to deploy Nxlog to Windows via Puppet + Foreman. So far, I can get my deployment to work properly if I put the following in my /etc/puppetlabs/code/environments/production/manifests/site.pp:||

While this works, I don't want to define every node in manifests/site.pp; I'd like to control the deployments using Foreman. However, I can't figure out how to tell Foreman to include these defined types in its config. Here's the Nxlog class I'm using, if needed: https://forge.puppet.com/dschaaff/nxlog


You need to create a wrapper class that calls the define and add the parameters to the wrapper class. For inspiration have a look at:
*https://github.com/echoes-tech/puppet-wrappers.git

Joop

*

--
You received this message because you are subscribed to the Google Groups "Foreman 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to