projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
popcon -> hiera role; explicitly include apache2
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
archvsync_base.pp
diff --git
a/modules/roles/manifests/archvsync_base.pp
b/modules/roles/manifests/archvsync_base.pp
index
9e9176a
..
a92297b
100644
(file)
--- a/
modules/roles/manifests/archvsync_base.pp
+++ b/
modules/roles/manifests/archvsync_base.pp
@@
-1,3
+1,4
@@
+# this is usually pulled in by *-mirror or syncproxy roles
class roles::archvsync_base {
file { '/srv/mirrors':
ensure => directory,
class roles::archvsync_base {
file { '/srv/mirrors':
ensure => directory,
@@
-11,4
+12,9
@@
class roles::archvsync_base {
ensure => present,
content => '',
}
ensure => present,
content => '',
}
+
+ file { '/etc/ssh/userkeys/archvsync':
+ ensure => 'link',
+ target => '/home/archvsync/.ssh/authorized_keys',
+ }
}
}