Issue #1597 has been updated by Erik Hetzner.
The attached patch hacks the source parameter to allow passing arguments to a
gem install. If the source paramater is not a URI, it is appened as a whole to
the gem install command. Example:
<pre>
package {
"mysql" :
provider => "gem",
source => "mysql --
--with-mysql-dir=/opt/mysql-5.1.24-rc-solaris10-sparc",
ensure => "2.7" ;
}
</pre>
This should not affect any working, existing puppet configs, as it is only
additional functionality.
----------------------------------------
Bug #1597: managing gems with Package does not allow arguments
http://projects.reductivelabs.com/issues/1597
Author: Ed Greenberg
Status: Accepted
Priority: Normal
Assigned to: community -
Category: package
Target version: unplanned
Complexity: Unknown
Affected version: 0.24.4
Keywords:
When managing a gem with Package, one cannot set arguments. For instance one
cannot do:
gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
One cannot add --no-rdoc and --no-ri, nor can one add --source in order to get
a gem from github.
I realize I can install gems using Exec, but that is just installing them, not
managing them.
If there is agreement, perhaps this could find itself into a future release.
</edg>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---