Create my own module apache

12 views
Skip to first unread message

Albert Shih

unread,
Aug 29, 2016, 11:29:40 AM8/29/16
to puppet...@googlegroups.com
Hi,

I like to create my own module apache. The purpose is to do ... exactly the
same thing as apache does but add a nagios check on each vhosts.

I know how to do something

hieradata/host.yaml

my_apache::vhost:
- vhost1:
option1:
option2:
- vhost2:
option1:
option2:
option3:

and make the my_apache call with create_ressource the apache module to
create each vhost with apache::vhost

The thing I don't know is to pass all (yes all) other
option/config/mod/etc.. from my_apache to apache. In other word do something

my_apache::\([a-z]\)::\([a-z]*\)

I like my module do

apache::\1::\2

is that possible ?


Regards.






--
Albert SHIH
DIO bātiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
lun 29 aoū 2016 17:21:13 CEST
Reply all
Reply to author
Forward
0 new messages