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:
		@@ -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'],
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -45,6 +45,7 @@ describe 'swift::proxy' do
 | 
			
		||||
        {:ensure    => 'running',
 | 
			
		||||
         :provider  => 'upstart',
 | 
			
		||||
         :enable    => true,
 | 
			
		||||
         :hasstatus => true,
 | 
			
		||||
         :subscribe => 'Concat[/etc/swift/proxy-server.conf]'
 | 
			
		||||
        }
 | 
			
		||||
      )}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user