The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
rug not on OpenSuSE 10.3 anymore
|Assignee:||Rein Henrichs||% Done:|
|Affected Puppet version:||0.25.1||Branch:||http://github.com/ajf/puppet/tree/feature/0.25.x/zypper|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.
OpenSuSE 10.3 doesn’t ship rug anymore, not even as an optional package. Most stuff works fine with yum, so yum could be made the default package provider for OpenSuSE 10.3+, but a zypper provider would be nice to have, as it’s stated to last a little longer than rug, and it has some ruby bindings.
#4 Updated by Luke Kanies over 6 years ago
- Target version changed from 0.24.5 to 4
You should be able to just modify the ‘rug’ provider to specify that it’s only the default for specific versions, and then modify the yum provider similarly. It’d be especially great to have integration tests verifying where it’s suitable and where it isn’t.
Given that I don’t have access to a SuSE system to verify it’s behaving correctly, I’ll need to delay this until someone who does can do the work.
#7 Updated by Jason Antman over 5 years ago
- Affected Puppet version set to 0.22.1
I’m relatively new to Puppet and Ruby, so I can’t at this time offer to write a provider. But if anyone has interest in testing, I’d be more than happy to provide access to a system. Assuming the current version of OpenSuSE (11.1) on modest desktop hardware is acceptable, I’d be happy to give someone access to a box. Just drop an email to email@example.com.
#17 Updated by christian c over 4 years ago
I don’t know if it’s the right place to ask, but on the mail list was no reaction to this request:
It would be great if the “uninstall” option would be added to the provider as zypper offers it. Otherwise it would be impossible to for example remove postfix before installing sendmail.
I mentioned that before in the last post here: http://groups.google.com/group/puppet-dev/browse_thread/thread/ad5554e7a9b9c866
#21 Updated by Alpar Torok over 4 years ago
- File puppet.log added
The current zypper provider (from http://groups.google.com/group/puppet-dev/browse_thread/thread/8c7b6593e2ca5a5b?hl=en_US )
fails with :
Package[kvm]/ensure: change from 0.11.0-4.5.2 to true failed: Could not update: undefined method `zypper' for
on Opensuse 10.2
#24 Updated by Alpar Torok over 4 years ago
I am tunned. I believe that the here provided provider never worked! I managed to figure out the problem eventually (i don’t know ruby) . In fact this provider was Copy/Paste programmed from the rug provider, you only need to change
commands :rug => “/usr/bin/zypper”
commands :zypper => “/usr/bin/zypper”
(comments also indicate copy/paste programing).
Isn’t there anybody using puppet on SuSe ? How could this got unnoticed and unfixed for so long? I think puppet developers are doing a great job , but the project would need more developers. I’ll get back to you once i dig into ruby. Too bad that the fix was so simple, i wanted to take the time to learn ruby now.
#25 Updated by Markus Roberts over 4 years ago
- Priority changed from High to Normal
I’m re-closing this ticket because the zypper provider was in fact merged into master in commit:0f2d3ce686f7e706537e03ebb2166478fa55f649 with, it appears, some problems introduced in the process. Those problems are being addressed on a new ticket, #3802.