Skip to content

Commit

Permalink
Bugfix/fix hashes cnts dirs (#58)
Browse files Browse the repository at this point in the history
* removed useless directors hash

* added loop for counter hashes
  • Loading branch information
benibr authored Jul 9, 2020
1 parent 9739286 commit d325478
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion manifests/director.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
Hash $clients = {},
Hash $consoles = {},
Hash $counters = {},
Hash $directors = {},
Hash $filesets = {},
Hash $jobs = {},
Hash $jobdefs = {},
Expand Down Expand Up @@ -96,6 +95,11 @@
* => $attributes;
}
}
$counters.each |String $resource, Hash $attributes| {
bareos::director::counter { $resource:
* => $attributes;
}
}
$filesets.each |String $resource, Hash $attributes| {
bareos::director::fileset { $resource:
* => $attributes;
Expand Down

0 comments on commit d325478

Please sign in to comment.