projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99bd9bc
)
switch package{} in bacula::director to ensure_packages
author
Peter Palfrader
<peter@palfrader.org>
Sun, 8 Sep 2019 11:52:17 +0000
(13:52 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 8 Sep 2019 11:52:17 +0000
(13:52 +0200)
modules/bacula/manifests/director.pp
patch
|
blob
|
history
diff --git
a/modules/bacula/manifests/director.pp
b/modules/bacula/manifests/director.pp
index
1f04407
..
b52c388
100644
(file)
--- a/
modules/bacula/manifests/director.pp
+++ b/
modules/bacula/manifests/director.pp
@@
-1,9
+1,13
@@
# our bacula director
class bacula::director inherits bacula {
- package { ['bacula-director-pgsql', 'bacula-common', 'bacula-common-pgsql']:
- ensure => installed
- }
+ ensure_packages ( [
+ 'bacula-director-pgsql',
+ 'bacula-common',
+ 'bacula-common-pgsql'
+ ], {
+ ensure => 'installed',
+ })
service { 'bacula-director':
ensure => running,