diff --git a/deployment/puppet/fuel/manifests/nginx.pp b/deployment/puppet/fuel/manifests/nginx.pp index 32df39a3c6..3eac8dc5e1 100644 --- a/deployment/puppet/fuel/manifests/nginx.pp +++ b/deployment/puppet/fuel/manifests/nginx.pp @@ -8,9 +8,10 @@ class fuel::nginx inherits fuel::params { file { ['/etc/nginx/conf.d/default.conf', '/etc/nginx/conf.d/virtual.conf', '/etc/nginx/conf.d/ssl.conf']: - ensure => 'absent', - notify => Service['nginx'], - before => File["/etc/nginx/nginx.conf"], + ensure => 'file', + content => "# This file managed by Puppet\n# and should exists to prevent fail on package upgrade\n", + notify => Service['nginx'], + before => File["/etc/nginx/nginx.conf"], } if ( $service_enabled == false ){