Puppet Class: package_builder::hooks
- Defined in:
- modules/package_builder/manifests/hooks.pp
Overview
Class package_builder::hooks A wrapper class for package::pbuilder_hooks. Mostly exists to make the addition of new distributions as easy as possible
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'modules/package_builder/manifests/hooks.pp', line 4
class package_builder::hooks(
Stdlib::Unixpath $basepath='/var/cache/pbuilder',
) {
file { "${basepath}/hooks":
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
}
package_builder::pbuilder_hook { 'buster':
distribution => 'buster',
components => 'main',
basepath => $basepath,
}
package_builder::pbuilder_hook { 'bullseye':
distribution => 'bullseye',
components => 'main',
basepath => $basepath,
}
package_builder::pbuilder_hook { 'bookworm':
distribution => 'bookworm',
components => 'main',
basepath => $basepath,
}
package_builder::pbuilder_hook { 'sid':
distribution => 'sid',
components => 'main',
basepath => $basepath,
}
}
|