This adds defined anchor points for external modules to hook into the software install, config and service dependency chain. This allows external modules to manage software installation (virtualenv, containers, etc) and service management (pacemaker) without needing rely on resources that may change or be renamed. Change-Id: I00cf4846bb933291469be94c9debed425eddf798
		
			
				
	
	
		
			27 lines
		
	
	
		
			436 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			436 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
#
 | 
						|
# Configure swift healthcheck.
 | 
						|
#
 | 
						|
# == Dependencies
 | 
						|
#
 | 
						|
# == Examples
 | 
						|
#
 | 
						|
# == Authors
 | 
						|
#
 | 
						|
#   Dan Bode dan@puppetlabs.com
 | 
						|
#
 | 
						|
# == Copyright
 | 
						|
#
 | 
						|
# Copyright 2011 Puppetlabs Inc, unless otherwise noted.
 | 
						|
#
 | 
						|
class swift::proxy::healthcheck() {
 | 
						|
 | 
						|
  include ::swift::deps
 | 
						|
 | 
						|
  concat::fragment { 'swift_healthcheck':
 | 
						|
    target  => '/etc/swift/proxy-server.conf',
 | 
						|
    content => template('swift/proxy/healthcheck.conf.erb'),
 | 
						|
    order   => '25',
 | 
						|
  }
 | 
						|
 | 
						|
}
 |