summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/base.pp
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/manifests/base.pp')
-rw-r--r--sitemodules/profiles/manifests/base.pp24
1 files changed, 16 insertions, 8 deletions
diff --git a/sitemodules/profiles/manifests/base.pp b/sitemodules/profiles/manifests/base.pp
index f29a393..86daddb 100644
--- a/sitemodules/profiles/manifests/base.pp
+++ b/sitemodules/profiles/manifests/base.pp
@@ -54,14 +54,14 @@ class profiles::base (
managehome => true,
}
$user['ssh_keys'].each |Hash[String, Data] $keydata| {
- $keyname = $keydata['name']
- ssh_authorized_key { "${osusername}@${keyname}":
- ensure => present,
- user => $user['username'],
- type => $keydata['type'],
- key => $keydata['key'],
- require => User[$osusername],
- }
+ $keyname = $keydata['name']
+ ssh_authorized_key { "${osusername}@${keyname}":
+ ensure => present,
+ user => $user['username'],
+ type => $keydata['type'],
+ key => $keydata['key'],
+ require => User[$osusername],
+ }
}
}
@@ -72,4 +72,12 @@ class profiles::base (
mode => '0755',
source => 'puppet:///modules/profiles/puppet.init',
}
+
+ file { '/etc/apt/apt.conf.d/03proxy':
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ source => 'puppet:///modules/profiles/base/apt_proxy.conf',
+ }
}