aboutsummaryrefslogtreecommitdiff
path: root/manifests/sshserver.pp
blob: 27d22220b3e3f5237a5c39d3ed485eda9b102ebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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',
    }
  }

  cron {'update-monkeysphere-auth':
    command => '/usr/sbin/monkeysphere-authentication update-users > /dev/null 2>&1',
    user    => root,
    minute  => '*/5',
    require => Package['monkeysphere'],
  }
}