diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-04-15 01:39:27 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-04-15 01:39:27 +0200 |
commit | 682e4756b43b7f240d6e256a1472bf68733214f9 (patch) | |
tree | e6763de40de8b80bd88ab0bb2a3a016b5dd903d0 | |
parent | 3825ffd2a080b79c0a30717fc33cc70c4cad840e (diff) | |
download | puppet.LW-682e4756b43b7f240d6e256a1472bf68733214f9.tar.gz puppet.LW-682e4756b43b7f240d6e256a1472bf68733214f9.tar.bz2 puppet.LW-682e4756b43b7f240d6e256a1472bf68733214f9.zip |
site.pp: Add 'apt_http_proxy_hotfix' class.
-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': } } |