net-ops/global/overlay/etc/puppet/manifests/cosmos-site.pp

37 lines
614 B
ObjectPascal
Raw Normal View History

2013-09-02 16:01:50 +02:00
# This manifest is managed using cosmos
Exec {
path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
}
# you need a default node
node default {
2013-09-02 16:01:50 +02:00
}
2025-04-28 11:52:20 +02:00
class common {
include apt
include sunet::tools
include sunet::motd
include sunet::rsyslog
package {'ssl-cert':
ensure => present
}
package { 'needrestart':
ensure => installed
}
}
# infra ca rp class
class infra_ca_rp {
sunet::ici_ca::rp { 'infra': }
}
2025-01-30 17:17:01 +01:00
# enable automatic updates, and automatic reboots
class autoupdate {
class { 'sunet::updater': cron => true, cosmos_automatic_reboot => true }
}