diff --git a/manifests/resource/vhost.pp b/manifests/resource/vhost.pp index 3f65d4848..db63eb2d0 100644 --- a/manifests/resource/vhost.pp +++ b/manifests/resource/vhost.pp @@ -633,7 +633,7 @@ path => "${vhost_enable_dir}/${name_sanitized}.conf", target => $config_file, require => Concat[$config_file], - notify => Service['nginx'], + notify => Class['::nginx::service'], } create_resources('::nginx::resource::map', $string_mappings)