Hello

I'd love a bit of advice in terms of how I should best go about this.

I am creating a bunch of vhosts, their definitions are stored in json (I'm 
using heira) that 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 files and call our API to send out 
emails.

Running with a standard Puppet Master and node server setup. Puppet 3.2.1 on 
Debian Wheezy.

Thanks!

Rachel



-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to