diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-03-17 10:47:33 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-03-17 10:47:33 -0300 |
commit | 4db0e978ca7bc3bc7c77d8eeb79cbd0d684b7b85 (patch) | |
tree | 623ea2ac9af4e6ecfdbc18eab8d0586c658fb91d /manifests | |
parent | 38372b13c071d483d34cc39da62a19b87439d93a (diff) | |
download | puppet-websites-4db0e978ca7bc3bc7c77d8eeb79cbd0d684b7b85.tar.gz puppet-websites-4db0e978ca7bc3bc7c77d8eeb79cbd0d684b7b85.tar.bz2 |
Certificates folder
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/setup.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/setup.pp b/manifests/setup.pp index af2bce6..292e82f 100644 --- a/manifests/setup.pp +++ b/manifests/setup.pp @@ -30,6 +30,21 @@ class websites::setup { "puppet:///modules/websites/htdocs/images", ] } + # Certificates folder + file { "${apache::www_folder}/certs": + ensure => directory, + recurse => true, + purge => true, + force => true, + owner => "root", + group => "root", + # This mode will also apply to files from the source directory + mode => 0644, + # Puppet will automatically set +x for directories + source => [ "puppet:///modules/site_apache/htdocs/${::domain}/certs", + "puppet:///modules/websites/htdocs/certs", ] + } + # Web index file { "${apache::www_folder}/index.html": ensure => present, |