Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
switch to ensure_packages()
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 26, 2020
1 parent 3b0b925 commit b953993
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,7 @@
# available. It's a bit misleading for the user, though, since they can
# specify a version and it will just silently continue installing the
# default version.
package { 'ruby':
ensure => $ruby_package_ensure,
name => $real_ruby_package,
}
ensure_packages(['ruby'], {ensure => $ruby_package_ensure, 'name' => $real_ruby_package })

# if rubygems_update is set to true then we only need to make the package
# resource for rubygems ensure to installed, we'll let rubygems-update
Expand Down

0 comments on commit b953993

Please sign in to comment.