Fix lint warnings about ensure placement
This commit is contained in:
parent
a8ebd9417c
commit
96fb1bacbc
21 changed files with 53 additions and 48 deletions
|
@ -161,12 +161,12 @@ class bacula::director($password=undef,
|
|||
}
|
||||
|
||||
package { "bacula-director":
|
||||
ensure => installed,
|
||||
name => $dbadapter ? {
|
||||
"mysql" => "bacula-director-mysql",
|
||||
"postgresql" => "bacula-director-postgresql",
|
||||
"sqlite" => "bacula-director-sqlite",
|
||||
},
|
||||
ensure => installed,
|
||||
before => Class["bacula::certificates"],
|
||||
}
|
||||
|
||||
|
@ -266,9 +266,9 @@ class bacula::director($password=undef,
|
|||
}
|
||||
|
||||
service { "bacula-director":
|
||||
name => "bacula-dir",
|
||||
ensure => running,
|
||||
enable => true,
|
||||
name => "bacula-dir",
|
||||
require => [ File["/srv/bacula"], Class["bacula::certificates"], ],
|
||||
}
|
||||
|
||||
|
@ -353,8 +353,8 @@ class bacula::storage($password = undef) {
|
|||
include bacula::certificates
|
||||
|
||||
package { "bacula-storage":
|
||||
name => "bacula-storage-sqlite",
|
||||
ensure => installed,
|
||||
name => "bacula-storage-sqlite",
|
||||
before => Class["bacula::certificates"],
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue