This role ensures the state of packages from the list given in variable.
I was missing platform_packages cookbook from Chef and didn't find a way to insert task execution between two roles without ugly kludges.
Be aware that packages are not always have same name on different platforms and you have to take care about providing a list according to the platform used.
Just a list of packages to be processed.
packages: []
roles:
- role: realloc.packages
packages:
- tar
- name: vim
state: absent
- name: emacs
state: latest
GPLv3
Stanislav Bogatyrev [email protected]