I have a list of packages that should be installed on (mostly) rpm based systems. I am installing them like so:
Package { ensure => "installed" }
$enhancers = [ "graphviz", "gcc-c++", "goaccess", "awstats", "screen", "strace", "nmap", "wget", "curl", "tcpdump", "vim-enhanced", "bind-utils", "tcptraceroute", "traceroute", "policycoreutils-python", "nc", "sharutils", "mutt", "ngrep", "nload", "htop" ]
package { $enhancers: }
}
Please what is the best way to insure that these packages are not installed first? I have tried using
unless => $enhancers
but this does throw up errors.
Thanks!
↧