 9561ffffa2
			
		
	
	9561ffffa2
	
	
	
		
			
			Some users wish to override the default package provider by their own. Tag all packages with the 'openstack' to allow mass resource attributes override using resource collectors. Change-Id: Ib0cec660f134e266006f41572cafcc4661ca1e67 Closes-bug: #1391209 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
		
			
				
	
	
		
			42 lines
		
	
	
		
			698 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			698 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
| #
 | |
| # Configure swift swift3.
 | |
| #
 | |
| # == Dependencies
 | |
| #
 | |
| # == Parameters
 | |
| #
 | |
| # [*ensure*]
 | |
| #   Enable or not ceilometer fragment
 | |
| #   Defaults to 'present'
 | |
| #
 | |
| # == Examples
 | |
| #
 | |
| # == Authors
 | |
| #
 | |
| #   Francois Charlier fcharlier@ploup.net
 | |
| #   Joe Topjian joe@topjian.net
 | |
| #
 | |
| # == Copyright
 | |
| #
 | |
| # Copyright 2012 eNovance licensing@enovance.com
 | |
| #
 | |
| class swift::proxy::swift3(
 | |
|   $ensure = 'present'
 | |
| ) {
 | |
| 
 | |
|   include ::swift::params
 | |
| 
 | |
|   package { 'swift-plugin-s3':
 | |
|     ensure => $ensure,
 | |
|     name   => $::swift::params::swift3,
 | |
|     tag    => 'openstack',
 | |
|   }
 | |
| 
 | |
|   concat::fragment { 'swift_swift3':
 | |
|     target  => '/etc/swift/proxy-server.conf',
 | |
|     content => template('swift/proxy/swift3.conf.erb'),
 | |
|     order   => '27',
 | |
|   }
 | |
| 
 | |
| }
 |