From 39aba65ba6efe8ff904801aff7499a7076e9cee4 Mon Sep 17 00:00:00 2001 From: TP Honey Date: Thu, 19 Nov 2015 12:45:22 +0000 Subject: [PATCH] Update init.pp --- site/nginx/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'], }