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

Commit 489b708

Browse files
committed
switch to ensure_packages()
1 parent 3b0b925 commit 489b708

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

manifests/init.pp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,7 @@
158158
# available. It's a bit misleading for the user, though, since they can
159159
# specify a version and it will just silently continue installing the
160160
# default version.
161-
package { 'ruby':
162-
ensure => $ruby_package_ensure,
163-
name => $real_ruby_package,
164-
}
161+
ensure_packages(['ruby'], {ensure => $ruby_package_ensure, 'name' => $real_ruby_package })
165162

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

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
],
7575
"dependencies": [
7676
{
77-
"name":"puppetlabs/stdlib","version_requirement":">= 4.13.1 < 7.0.0"
77+
"name":"puppetlabs/stdlib","version_requirement":">= 4.19.0 < 7.0.0"
7878
}
7979
]
8080
}

0 commit comments

Comments
 (0)