Skip to content

Commit 03d2ad5

Browse files
author
Dan Bode
committed
Added ensure param to mysql::ruby.
allows users of the module to specify the package version.
1 parent fa7f0eb commit 03d2ad5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/ruby.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#installs the ruby bindings for mysql
22
class mysql::ruby(
3+
$ensure = installed,
34
$package_name = $mysql::params::ruby_package_name
45
) inherits mysql::params {
56
# I am not making the mysql package a dep for this
@@ -13,6 +14,6 @@
1314
# name => $ruby_mysql_name,
1415
name => $package_name,
1516
provider => 'gem',
16-
ensure => installed,
17+
ensure => $ensure,
1718
}
1819
}

0 commit comments

Comments
 (0)