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

-- 
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/20160829152926.ca72mk73nkaxg2l7%40pcjas.obspm.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to