diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-09-01 13:32:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-09-01 13:32:35 -0300 |
commit | d4124a37234f5f2736e594e0259907a9398cd442 (patch) | |
tree | 286f59f60a99b3259c1443579fac8fd586cf51be /manifests | |
parent | fd2c4b68e715cd0542e1bbf76aeaf7442dec9184 (diff) | |
download | puppet-nodo-d4124a37234f5f2736e594e0259907a9398cd442.tar.gz puppet-nodo-d4124a37234f5f2736e594e0259907a9398cd442.tar.bz2 |
Checking if wget is already defined
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/utils.pp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/utils.pp b/manifests/utils.pp index 365674f..770d027 100644 --- a/manifests/utils.pp +++ b/manifests/utils.pp @@ -1,12 +1,19 @@ # Common utilities class nodo::utils { - package { [ 'screen', 'less', 'bzip2', 'openssl', 'lynx', 'wget', 'unzip', + package { [ 'screen', 'less', 'bzip2', 'openssl', 'lynx', 'unzip', 'nmap', 'telnet', 'tree', 'whois', 'dosfstools', 'dnsutils', 'secure-delete', 'bc', 'lsof', 'wipe', 'vrms', 'nsca-client', 'uuid-runtime', 'vim-nox', 'multitail', 'bash-completion', 'zsh' ]: ensure => installed, } + # Might be defined elsewhere + if !defined(Package['wget']) { + package { 'wget': + ensure => installed, + } + } + # Not using right now package { [ 'logcheck', 'logcheck-database' ]: ensure => absent, |