source: src/puppetcode/environments/test/modules/apt/manifests/conf.pp@ c53f31a

0.5 app-cordova debian/bullseye debian/jessie
Last change on this file since c53f31a was 1c22429, checked in by Joachim Langenbach <joachim.langenbach@…>, 10 years ago
  • gnuboat_epd adds the apt repository from gnuboat to install epd-fuse package
  • Property mode set to 100644
File size: 450 bytes
RevLine 
[1c22429]1define apt::conf (
2 $content = undef,
3 $ensure = present,
4 $priority = '50',
5 $notify_update = undef,
6) {
7
8 unless $ensure == 'absent' {
9 unless $content {
10 fail('Need to pass in content parameter')
11 }
12 }
13
14 apt::setting { "conf-${name}":
15 ensure => $ensure,
16 priority => $priority,
17 content => template('apt/_conf_header.erb', 'apt/conf.erb'),
18 notify_update => $notify_update,
19 }
20}
Note: See TracBrowser for help on using the repository browser.