if getfromhash($site::nodeinfo, 'hoster', 'mirror-debian') {
$mirror = getfromhash($site::nodeinfo, 'hoster', 'mirror-debian')
} else {
- $mirror = 'http://http.debian.net/debian/'
+ $mirror = 'http://ftp.debian.org/debian/'
}
if $::lsbmajdistrelease < 7 {
$mirror_backports = 'http://backports.debian.org/debian-backports/'
}
if $systemd {
+ include systemd
$servicefiles = 'present'
} else {
$servicefiles = 'absent'
source => 'puppet:///modules/debian-org/ud-replicated.service',
notify => Exec['systemctl daemon-reload'],
}
+ if $systemd {
+ file { '/etc/systemd/system/multi-user.target.wants/ud-replicated.service':
+ ensure => 'link',
+ target => '../ud-replicated.service',
+ notify => Exec['systemctl daemon-reload'],
+ }
+ }
file { '/etc/systemd/system/puppet.service':
ensure => 'link',
target => '/dev/null',
}
file { '/etc/rc.local':
mode => '0755',
- source => 'puppet:///modules/debian-org/rc.local',
+ content => template('debian-org/rc.local.erb'),
notify => Exec['service rc.local start'],
}
file { '/etc/dsa':