blob: 43c0f6f2f873f83c92b0f12bb052187e2ecd4cb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# include to export your ssh key
class monkeysphere::sshserver {
include monkeysphere
if $::monkeysphere_has_hostkey {
@@file { "/var/lib/puppet/modules/monkeysphere/hosts/${::fqdn}":
ensure => present,
content => template('monkeysphere/host.erb'),
require => Package['monkeysphere'],
tag => 'monkeysphere-host',
}
}
file{'/etc/cron.d/update-monkeysphere-auth':
ensure => present,
source => 'puppet:///modules/monkeysphere/etc/cron.d/update-monkeysphere-auth',
require => Package['monkeysphere'],
mode => '0644',
owner => root,
group => root,
}
}
|