* modules/openstack_project/manifests/automatic_upgrades.pp: Instead of passing through the origins list from the scope, this was handing a literal empty list to the unattended_upgrades module instead. Correct it. Change-Id: I241575396167451d5b62fba36d2e96808d0d0e27
		
			
				
	
	
		
			17 lines
		
	
	
		
			289 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			289 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
# == Class: openstack_project::automatic_upgrades
 | 
						|
#
 | 
						|
class openstack_project::automatic_upgrades (
 | 
						|
  $origins = []
 | 
						|
) {
 | 
						|
 | 
						|
  if $::osfamily == 'Debian' {
 | 
						|
    class { 'unattended_upgrades':
 | 
						|
      origins => $origins,
 | 
						|
    }
 | 
						|
  }
 | 
						|
  if $::osfamily == 'RedHat' {
 | 
						|
    include packagekit::cron
 | 
						|
  }
 | 
						|
 | 
						|
}
 |