Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Pkg management version comparator problem example

View pkg_comparator_example.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
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
Something went wrong with that request. Please try again.