So I managed to hack a fix for this:
# Hackish pair of execs to allow multiple sites with the same docroot# See: https://confluence.maxserv.com/display/OPS/MaxServ+Apacheexec{"${name}_${webroot}":cwd =>'/',user =>'root',path =>'/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/beheer/bin',command =>"`which mkdir` -p ${webroot}",creates =>$webroot,notify =>Exec["${name}_webroot_permissions"],}exec{"${name}_webroot_permissions":cwd =>'/',user =>'root',path =>'/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/beheer/bin',command =>"`which chown` ${apache::user}:${apache::group} ${webroot}",refreshonly => true,}
Any comments?
Bas
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/fbdc265c-4fe1-59b3-fb07-c951abe957d6%40area536.com.
For more options, visit https://groups.google.com/d/optout.