search for: apache_vhost

Displaying 3 results from an estimated 3 matches for "apache_vhost".

Did you mean: apachevhost
2013 Jun 04
11
Share Hiera configuration between 2 nodes?
Hi, I am trying to use Hiera in puppet 3 and I have two nodes that both need the same configuration. In this case they are two web servers which have the same apache configuration. Rather than creating two seperate hiera files for node1.yaml and node2.yaml is there a way to group these by role (e.g. webserver.yaml)? I want to avoid duplicating the configuration if possible and keep the data
2013 Jun 12
2
Executing a script after creating vhosts with create_resources
...json file will be generated from data held on another server. I''m just using the puppetlabs apache module and create_resources to then generate all the vhosts and their directories etc. I''m then doing the same to create associated mysql databases. $sites = hiera_hash(''apache_vhosts'') create_resources(''apache::vhost'',$sites) $db = hiera_hash(''mysql_db'') create_resources(''mysql::db'',$db) What I need to know however is when a vhost and db has been created. So I can kick off a PHP script to deploy a bunch of f...
2013 Jan 11
13
Profiles, Hiera, and create_resources('class','...')
...the github refactor branch): apache_params: apache: default_mods : true default_vhost : false default_ssl_vhost : false service_enable : true serveradmin : ''root@localhost'' sendfile : false error_pages : false apache_vhosts : testvhost1.com : { ip : ''10.0.0.9'', port : ''81'', docroot : ''/tmp/testvhost1.com'', ssl : True } testvhost2.com : { ip : ''10.0.0.9'', port : 82, docroot : ''/tmp/testvhost2.com'...