Skip to content

Commit

Permalink
replace ensure_resource() with ensure_packages(), fixes #158
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki committed May 7, 2020
1 parent 50c0d7a commit a23cbb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/arbitrator.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
String $package_name,
String $service_name,
) {
ensure_resource(package, [$package_name],
ensure_packages([$package_name],
{
ensure => $galera::arbitrator_package_ensure,
})
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@

# Install additional packages
if ($manage_additional_packages and $additional_packages_real) {
ensure_resource(package, $additional_packages_real,
ensure_packages($additional_packages_real,
{
ensure => $package_ensure,
before => $_packages_before,
Expand Down

0 comments on commit a23cbb9

Please sign in to comment.