Displaying 1 result from an estimated 1 matches for "packages_key".
2013 Jun 04
2
Delete ypbind.........dependancy headaches.. yp-tools is needed by (installed) ypbind
...is one. How does one delete ypbind cleanly
from a RHEL6 box? It has a dep of yp-tools. No problem...I add both to the
uninstall list in hiera;
packages_oel6_absent:
<snip>
- ypbind
- yp-tools
SNIP from manifest;
$packagesabsent = hiera("${packages_key}_absent",''nil'')
if $packagesabsent != ''nil'' {
package { $packagesabsent:
ensure => absent,
}
Works a treat for all other packages removing cleanly, apart from these two.
Here''s the error when I add both programs to the delete l...