Define Apache::vhost from ENC?

71 views
Skip to first unread message

Sean Alderman

unread,
Sep 9, 2013, 11:05:40 AM9/9/13
to example42-pu...@googlegroups.com
Good morning!

  My question here is related to my nagios project - I need to add LDAP authentication around nagios and pnp4nagios.  I was intending to do it with the apache::vhost, but I noticed in Foreman this subclass does not appear...



I was about to ask the Foreman group how to set subclass params from the gui, but thought I'd make an experiment.  Will have to create a custom class that include apache::vhost and sets up things that way?

Sean Alderman

unread,
Sep 9, 2013, 11:07:16 AM9/9/13
to example42-pu...@googlegroups.com

Ok, my foreman screen image was scrubbed.  Let's try this way...


Alessandro Franceschi

unread,
Sep 10, 2013, 3:34:49 AM9/10/13
to example42-pu...@googlegroups.com
Yes, you can't declare defines directly from an ENC , you have to place them in custom classes and then include these classes.
Reply all
Reply to author
Forward
0 new messages