 9bd09b15bb
			
		
	
	9bd09b15bb
	
	
	
		
			
			(account|container|object)-server.conf requires sections for each services but these sections sometimes don't require settings when service defaults are used. This change allows defining only sections using *_config resources. Depends-on: https://review.opendev.org/849235 Change-Id: I827c06cc994e13b900a9eeaeaec7849a243732e2
		
			
				
	
	
		
			17 lines
		
	
	
		
			287 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			287 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| Puppet::Type.type(:swift_account_config).provide(
 | |
|   :ini_setting,
 | |
|   :parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
 | |
| ) do
 | |
| 
 | |
|   def setting
 | |
|     val = super
 | |
|     return nil if val == ''
 | |
|     val
 | |
|   end
 | |
| 
 | |
|   def self.file_path
 | |
|     '/etc/swift/account-server.conf'
 | |
|   end
 | |
| 
 | |
| end
 |