From 27f755fdac3b8df693b6b7a769256854b93d4c8a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 20 Feb 2020 08:15:20 +0100 Subject: site.pp: tweak proxy settings in /etc/environment on Roaming Workstations. --- code/environments/production/manifests/site.pp | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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': } -- cgit v1.2.3