63 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| #
 | |
| # Cookbook:: apt
 | |
| # Attributes:: default
 | |
| #
 | |
| # Copyright:: 2009-2019, Chef Software, Inc.
 | |
| #
 | |
| # Licensed under the Apache License, Version 2.0 (the "License");
 | |
| # you may not use this file except in compliance with the License.
 | |
| # You may obtain a copy of the License at
 | |
| #
 | |
| #     http://www.apache.org/licenses/LICENSE-2.0
 | |
| #
 | |
| # Unless required by applicable law or agreed to in writing, software
 | |
| # distributed under the License is distributed on an "AS IS" BASIS,
 | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | |
| # See the License for the specific language governing permissions and
 | |
| # limitations under the License.
 | |
| #
 | |
| 
 | |
| default['apt']['cacher_dir'] = '/var/cache/apt-cacher-ng'
 | |
| default['apt']['cacher_interface'] = nil
 | |
| default['apt']['cacher_port'] = 3142
 | |
| default['apt']['compiletime'] = false
 | |
| default['apt']['compile_time_update'] = false
 | |
| default['apt']['key_proxy'] = ''
 | |
| default['apt']['periodic_update_min_delay'] = 86_400
 | |
| default['apt']['launchpad_api_version'] = '1.0'
 | |
| default['apt']['unattended_upgrades']['enable'] = false
 | |
| default['apt']['unattended_upgrades']['update_package_lists'] = true
 | |
| # this needs a good default
 | |
| codename = node.attribute?('lsb') ? node['lsb']['codename'] : 'notlinux'
 | |
| default['apt']['unattended_upgrades']['allowed_origins'] = [
 | |
|   "#{node['platform'].capitalize} #{codename}",
 | |
| ]
 | |
| 
 | |
| default['apt']['cacher_client']['cacher_server'] = {}
 | |
| 
 | |
| default['apt']['unattended_upgrades']['origins_patterns'] = []
 | |
| default['apt']['unattended_upgrades']['package_blacklist'] = []
 | |
| default['apt']['unattended_upgrades']['auto_fix_interrupted_dpkg'] = false
 | |
| default['apt']['unattended_upgrades']['minimal_steps'] = false
 | |
| default['apt']['unattended_upgrades']['install_on_shutdown'] = false
 | |
| default['apt']['unattended_upgrades']['mail'] = nil
 | |
| default['apt']['unattended_upgrades']['sender'] = nil
 | |
| default['apt']['unattended_upgrades']['mail_only_on_error'] = true
 | |
| default['apt']['unattended_upgrades']['remove_unused_dependencies'] = false
 | |
| default['apt']['unattended_upgrades']['automatic_reboot'] = false
 | |
| default['apt']['unattended_upgrades']['automatic_reboot_time'] = 'now'
 | |
| default['apt']['unattended_upgrades']['dl_limit'] = nil
 | |
| default['apt']['unattended_upgrades']['random_sleep'] = nil
 | |
| default['apt']['unattended_upgrades']['syslog_enable'] = false
 | |
| default['apt']['unattended_upgrades']['syslog_facility'] = 'daemon'
 | |
| 
 | |
| default['apt']['unattended_upgrades']['dpkg_options'] = []
 | |
| 
 | |
| default['apt']['confd']['force_confask'] = false
 | |
| default['apt']['confd']['force_confdef'] = false
 | |
| default['apt']['confd']['force_confmiss'] = false
 | |
| default['apt']['confd']['force_confnew'] = false
 | |
| default['apt']['confd']['force_confold'] = false
 | |
| default['apt']['confd']['install_recommends'] = true
 | |
| default['apt']['confd']['install_suggests'] = false
 |