diff options
-rw-r--r-- | code/environments/production/manifests/site.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp index 59b7923..9c7734e 100644 --- a/code/environments/production/manifests/site.pp +++ b/code/environments/production/manifests/site.pp @@ -111,6 +111,13 @@ class cups_browsed_polling { } } +class apt_http_proxy_hotfix { + exec { 'apt_http_proxy_file_rename': + command => "/usr/bin/mv /etc/apt/apt.conf.d/02proxy /etc/apt/apt.conf.d/04proxy", + onlyif => "/usr/bin/test -f /etc/apt/apt.conf.d/02proxy", + } +} + class itzks_systems_common { package { 'itzks-systems-common': ensure => 'latest', @@ -265,6 +272,7 @@ node "disklserver.intern" { debdelta => 1, }, } + class { 'apt_http_proxy_hotfix': } class { 'itzks_systems_disklserver': } class { 'itzks_systems_common': } class { 'cups_browsed_polling': } @@ -288,6 +296,7 @@ node "faiserver.intern" { debdelta => 1, }, } + class { 'apt_http_proxy_hotfix': } class { 'itzks_systems_faiserver': } class { 'itzks_systems_common': } class { 'cups_browsed_polling': } @@ -355,6 +364,7 @@ node /(md-lap-[0-9]+|notebook-[0-9]+|test-notebook)\.intern$/ { debdelta => 1, }, } + class { 'apt_http_proxy_hotfix': } class { 'itzks_systems_roamingworkstation': } class { 'itzks_systems_common': } class { 'login_manager': } @@ -381,6 +391,7 @@ node /((nuc|workstation)-[0-9]+|test-workstation)\.intern$/ { debdelta => 1, }, } + class { 'apt_http_proxy_hotfix': } class { 'itzks_systems_workstation': } class { 'itzks_systems_common': } class { 'login_manager': } @@ -405,6 +416,7 @@ node /(tab-[0-9]+|test-tablet)\.intern$/ { debdelta => 1, }, } + class { 'apt_http_proxy_hotfix': } class { 'itzks_systems_tablet': } class { 'itzks_systems_common': } class { 'cups_browsed_polling': } @@ -429,4 +441,5 @@ node "default" { debdelta => 1, }, } + class { 'apt_http_proxy_hotfix': } } |