Set hasstatus => true for proxy services

Fix bug 1170711

notifies to proxy services on RHEL were not causing a restart of the service

Change-Id: Ia2c4df9135daa80380c4aec0627605d5afb88386
This commit is contained in:
Derek Higgins 2013-04-19 10:03:01 -04:00
parent 3daaef0ea0
commit 9759682213
2 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,7 @@ class swift::proxy(
ensure => running,
enable => true,
provider => $::swift::params::service_provider,
hasstatus => true,
subscribe => Concat['/etc/swift/proxy-server.conf'],
}
}

View File

@ -45,6 +45,7 @@ describe 'swift::proxy' do
{:ensure => 'running',
:provider => 'upstart',
:enable => true,
:hasstatus => true,
:subscribe => 'Concat[/etc/swift/proxy-server.conf]'
}
)}