zerozerounouno@gmail.com
2014-Feb-06 11:44 UTC
[Puppet Users] install_options fails for rpm provider
Hi,
AFAICT from the docs <
http://docs.puppetlabs.com/references/latest/type.html#package-provider-features>,
when using a "package" resource with the rpm provider, the
install_options
attribute should be allowed.
But it seems it is not taken into account here.
I have a resource like this:
package { "PEAR::XML_Serializer":
source =>
"/root/packages/PEAR::XML_Serializer-0.18.0-1.noarch.rpm",
install_options => [ "--nodeps", "--force" ]
}
But puppet fails and I get this error in the log:
err: /Package[PEAR::XML_Serializer]/ensure: change from absent to present
failed: Execution of '/bin/rpm -i --oldpackage
/root/packages/PEAR::XML_Serializer-0.18.0-1.noarch.rpm' returned 1: error:
Failed dependencies:
PEAR::XML_Util >= 1.1.1 is needed by PEAR::XML_Serializer-0.18.0-1.noarch
Any clues?
Thanks.
Marco
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/0583bc46-c20a-40d2-9b89-6d4e462e8a13%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.