diff --git a/site/nginx/manifests/init.pp b/site/nginx/manifests/init.pp index 2a3f3f0305..bad00b3b5e 100644 --- a/site/nginx/manifests/init.pp +++ b/site/nginx/manifests/init.pp @@ -24,11 +24,11 @@ file { "${nginx_base_dir}/nginx.conf": ensure => file, - source => 'puppet:///modules/nginx/nginx.conf', + source => 'puppet:///modules/nginx/${::osfamily}.conf', } file { "${nginx_base_dir}/conf.d/default.conf": ensure => file, - source => "puppet:///modules/nginx/${::osfamily}.conf", + source => "puppet:///modules/nginx/default-${::kernel}.conf", require => Package['nginx'], notify => Service['nginx'], }