From d659b79d3499e7beaa8304e3f1462577c0e9fbb5 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 17 Nov 2010 14:28:30 +0000 Subject: - adapt the script to our infrastructure ( ie, use our domain, and create the directory holding the key ) --- modules/restrictshell/manifests/init.pp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/restrictshell/manifests/init.pp') 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, -- cgit v1.2.1