public
Created

Pkg management version comparator problem example

  • Download Gist
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");

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.