aboutsummaryrefslogtreecommitdiffstats
path: root/modules/restrictshell/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-17 14:28:30 +0000
committerMichael Scherer <misc@mageia.org>2010-11-17 14:28:30 +0000
commitd659b79d3499e7beaa8304e3f1462577c0e9fbb5 (patch)
treea7fc2d7d55a914ce2a2dad481732e022743b2aa0 /modules/restrictshell/manifests
parent1bd9a3ad4a149551f3b4359f766c12bee8e41053 (diff)
downloadpuppet-d659b79d3499e7beaa8304e3f1462577c0e9fbb5.tar
puppet-d659b79d3499e7beaa8304e3f1462577c0e9fbb5.tar.gz
puppet-d659b79d3499e7beaa8304e3f1462577c0e9fbb5.tar.bz2
puppet-d659b79d3499e7beaa8304e3f1462577c0e9fbb5.tar.xz
puppet-d659b79d3499e7beaa8304e3f1462577c0e9fbb5.zip
- adapt the script to our infrastructure ( ie, use our domain, and create the directory holding the key )
Diffstat (limited to 'modules/restrictshell/manifests')
-rw-r--r--modules/restrictshell/manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/restrictshell/manifests/init.pp b/modules/restrictshell/manifests/init.pp
index 2618f401..f628e2b1 100644
--- a/modules/restrictshell/manifests/init.pp
+++ b/modules/restrictshell/manifests/init.pp
@@ -31,6 +31,14 @@ class restrictshell {
ensure => installed,
}
+ $pubkeys_directory = "/var/lib/pubkeys"
+ file { $pubkeys_directory:
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => 755,
+ }
+
file { '/usr/local/bin/ldap-sshkey2file.py':
ensure => present,
owner => root,