This commit is contained in:
James Fryman 2013-08-18 16:12:37 -05:00
commit 5f69bd3c3a

View file

@ -213,12 +213,10 @@ define nginx::resource::vhost (
# Check if the file has been defined before creating the file to
# avoid the error when using wildcard cert on the multiple vhosts
ensure_resource('file', "${nginx::params::nx_conf_dir}/${cert}.crt", {
ensure => $ensure,
mode => '0644',
source => $ssl_cert,
})
ensure_resource('file', "${nginx::params::nx_conf_dir}/${cert}.key", {
ensure => $ensure,
mode => '0644',
source => $ssl_key,
})