0.5
app-cordova
debian/bullseye
debian/jessie
|
Last change
on this file since 5149714 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
|
| Line | |
|---|
| 1 | define 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.