summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/debarchive.pp
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/manifests/debarchive.pp')
-rw-r--r--sitemodules/profiles/manifests/debarchive.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/sitemodules/profiles/manifests/debarchive.pp b/sitemodules/profiles/manifests/debarchive.pp
index 50c802b..ed9deaf 100644
--- a/sitemodules/profiles/manifests/debarchive.pp
+++ b/sitemodules/profiles/manifests/debarchive.pp
@@ -67,6 +67,11 @@ class profiles::debarchive (
group => 'root',
mode => '4755',
}
+ exec { 'add rssh to list of valid shells':
+ command => '/usr/sbin/add-shell /usr/bin/rssh',
+ unless => '/bin/grep -q rss /etc/shells',
+ require => Package['rssh'],
+ }
# setup user, groups and directories
group { 'debarchive':
@@ -198,6 +203,7 @@ class profiles::debarchive (
command => "/usr/bin/gpg --export --export-options export-minimal \"${release_signing_keyid}\" > ${archive_public_key}",
creates => $archive_public_key,
require => [
+ File[$package_dir],
File["${gpg_home}/gpg.conf"],
File["${gpg_home}/gpg-agent.conf"],
File[$release_signing_private_key_file],