Simple cookbook for managing package versions on a node.
Define packages (and optionally version restrictions and action type) within the role:
override_attributes(
:package_installer => {
:packages => {
'vim' => nil,
'mailutils' => {
:version => '2.2'
},
'emacs' => {
:action => :upgrade
}
}
}
)
By default the :upgrade action is used. If you want to keep the package pegged, simply specify a version or use the :install action.
Create a github issue or fork, fix and send me a pull request