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