Parent Directory | Revision Log
split a module pubkeys_directory, so we can include it from symlink_user and make sure everything is correctly declared
1 | class openssh::pubkeys_directory { |
2 | $pubkeys_directory = '/var/lib/pubkeys' |
3 | file { $pubkeys_directory: |
4 | ensure => directory, |
5 | } |
6 | |
7 | file { "$pubkeys_directory/root": |
8 | ensure => directory, |
9 | mode => '0700', |
10 | } |
11 | |
12 | file { "$pubkeys_directory/root/authorized_keys": |
13 | ensure => link, |
14 | target => '/root/.ssh/authorized_keys', |
15 | mode => '0700', |
16 | } |
17 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |