diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-02-20 08:15:20 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-02-20 08:15:20 +0100 |
commit | 27f755fdac3b8df693b6b7a769256854b93d4c8a (patch) | |
tree | 14a54cd785407b01ded31a3cd186fa902b0ade73 /code/environments/production | |
parent | bfe26ece4309dee8aaed2f9c911bb89333a33d06 (diff) | |
download | puppet.KATH-27f755fdac3b8df693b6b7a769256854b93d4c8a.tar.gz puppet.KATH-27f755fdac3b8df693b6b7a769256854b93d4c8a.tar.bz2 puppet.KATH-27f755fdac3b8df693b6b7a769256854b93d4c8a.zip |
site.pp: tweak proxy settings in /etc/environment on Roaming Workstations.
Diffstat (limited to 'code/environments/production')
-rw-r--r-- | code/environments/production/manifests/site.pp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp index 7da41ac..95d63c0 100644 --- a/code/environments/production/manifests/site.pp +++ b/code/environments/production/manifests/site.pp @@ -286,8 +286,23 @@ class ensure_roaming_workstation { package { 'itzks-systems-roamingworkstation': ensure => 'latest', } -} + file_line { 'http_proxy': + path => '/etc/environment', + line => 'http_proxy=http://webcache:3128', + match => '^http_proxy=.*', + } + file_line { 'https_proxy': + path => '/etc/environment', + line => 'https_proxy=http://webcache:3128', + match => '^https_proxy=.*', + } + file_line { 'ftp_proxy': + path => '/etc/environment', + line => 'ftp_proxy=http://webcache:3128', + match => '^ftp_proxy=.*', + } +} node "disklserver.intern" { class { 'ssh_pubkeys_admins': } |