summaryrefslogtreecommitdiff
path: root/sitemodules
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules')
-rw-r--r--sitemodules/profiles/manifests/debarchive.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sitemodules/profiles/manifests/debarchive.pp b/sitemodules/profiles/manifests/debarchive.pp
index 0442962..0a8e59e 100644
--- a/sitemodules/profiles/manifests/debarchive.pp
+++ b/sitemodules/profiles/manifests/debarchive.pp
@@ -95,6 +95,9 @@ class profiles::debarchive (
exec { '/bin/bash /usr/share/doc/rssh/examples/mkchroot.sh /srv/upload':
creates => '/srv/upload/usr/bin/rssh',
require => [Package['rssh'], File['/srv/upload']],
+ } ~>
+ exec { '/bin/sed -n -i \'/^root:/p; /^debarchive:/p\' /srv/upload/etc/passwd':
+ refreshonly => true,
}
$rssh_conf = '/etc/rssh.conf'