Skip to content

Commit

Permalink
Merge pull request #7 from jlsherrill/cert_perms
Browse files Browse the repository at this point in the history
fixing perms on apache key cert
  • Loading branch information
jlsherrill committed Feb 12, 2014
2 parents 7e897f5 + 95d0c61 commit 1ae1843
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions manifests/apache.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
$apache_ca_cert = $::certs::params::apache_ca_cert
) inherits certs::params {

require '::apache'

cert { "${::certs::node_fqdn}-ssl":
ensure => present,
hostname => $::certs::node_fqdn,
Expand Down Expand Up @@ -43,8 +45,8 @@
cert => Cert["${::certs::node_fqdn}-ssl"]
} ->
file { $apache_ssl_key:
owner => $apache::params::user,
group => $apache::params::group,
owner => $::apache::user,
group => $::apache::group,
mode => '0400';
} ->
Service['httpd']
Expand Down

0 comments on commit 1ae1843

Please sign in to comment.