suite => $suite,
components => 'main',
require => Package['apt-transport-https'],
- before => Package[schroot,sbuild]
}
if $::hostname in [alkman,porpora,zandonai] {
}
file { '/etc/apt/preferences.d/buildd':
content => template('buildd/etc/apt/preferences.d/buildd'),
- before => File['/etc/apt/sources.list.d/buildd.debian.org.list']
+ before => Site::Aptrepo['buildd.debian.org']
}
file { '/etc/schroot/mount-defaults':
content => template('buildd/etc/schroot/mount-defaults.erb'),
'dsa-munin-plugins',
]:
ensure => installed,
- require => [
- File['/etc/apt/sources.list.d/db.debian.org.list'],
- Exec['apt-get update']
- ]
}
+
package { [
'apt-utils',
'bash-completion',
if getfromhash($site::nodeinfo, 'broken-rtc') {
package { 'fake-hwclock':
ensure => installed,
- require => [
- File['/etc/apt/sources.list.d/db.debian.org.list'],
- Exec['apt-get update']
- ]
}
}
path => '/usr/bin:/usr/sbin:/bin:/sbin',
refreshonly => true,
}
+ Exec['apt-get update']->Package<| |>
exec { 'dpkg-reconfigure tzdata -pcritical -fnoninteractive':
path => '/usr/bin:/usr/sbin:/bin:/sbin',
package { 'megactl':
ensure => installed,
- require => [
- File['/etc/apt/sources.list.d/debian.restricted.list'],
- Exec['apt-get update']
- ]
}
site::aptrepo { 'debian.restricted':
package { 'hpacucli':
ensure => installed,
- require => [
- File['/etc/apt/sources.list.d/debian.restricted.list'],
- Exec['apt-get update']
- ]
}
package { 'hp-health':
ensure => installed,
- require => [
- File['/etc/apt/sources.list.d/debian.restricted.list'],
- Exec['apt-get update']
- ]
}
package { 'arrayprobe':
ensure => installed,
}
package { 'dsa-nagios-checks':
ensure => installed,
- require => [
- File['/etc/apt/sources.list.d/db.debian.org.list'],
- Exec['apt-get update']
- ]
}
service { 'nagios-nrpe-server':
file { "/etc/apt/sources.list.d/${name}.list":
ensure => $ensure,
content => template('site/aptrepo.erb'),
- notify => Exec['apt-get update'],
+ notify => Exec['apt-get update'],
}
}