Skip to content

Commit

Permalink
Update vhost handling as per voxpupuli#610
Browse files Browse the repository at this point in the history
  • Loading branch information
juliacollins committed Sep 7, 2016
1 parent 6bdf457 commit e83da0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/resource/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@
group => $group,
mode => $mode,
notify => Class['::nginx::service'],
require => File[$vhost_dir],
}

$ssl_only = ($ssl == true) and (($ssl_port + 0) == ($listen_port + 0))
Expand Down Expand Up @@ -711,7 +712,7 @@
ensure => $vhost_symlink_ensure,
path => "${vhost_enable_dir}/${name_sanitized}.conf",
target => $config_file,
require => Concat[$config_file],
require => [File[$vhost_enable_dir],Concat[$config_file]],
notify => Class['::nginx::service'],
}

Expand Down

0 comments on commit e83da0c

Please sign in to comment.