Create DocumentRoot directory for puppetlabs/apache
I am using the puppetlabs/apache module and defining vhost data in hiera like so:
apache::apachevhosts: el6pupclient: servername: el6pupclient docroot: /www/el6pupclient/html port: '80'
The 'apache' module has a mechanism to create the docroot directory on the client, but this failing since the parent directory (el6pupclient) does not exist. It is attempting to create the "html" directory:
err: /Stage[main]/Profiles::Apache/Apache::Vhost[el6pupclient]/File[/www/el6pupclient/html]/ensure: change from absent to directory failed: Cannot create /www//html; parent directory /www/el6pupclient.corp.follett.com does not exist
Can anyone think of a way to get ... (more)