Created
February 5, 2012 22:20
-
-
Save jlgreer/1748179 to your computer and use it in GitHub Desktop.
Pkg management version comparator problem example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packages: | |
# First we want wireshark 1.0.11 | |
"wireshark" | |
package_policy => "add", | |
package_method => yum_rpm_exact, | |
package_version => "1.0.11-1.el5_6.4", | |
package_architectures => { "x86_64" }, | |
action => actionsettings_fix_inform("inform"); | |
# Later we want wireshark 1.0.15. Swap above policy for: | |
"wireshark" | |
package_policy => "addupdate", | |
package_method => yum_rpm_exact, | |
package_version => "1.0.15-1.el5_6.4", | |
package_architectures => { "x86_64" }, | |
action => actionsettings_fix_inform("inform"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment