From 4a880ad141c8deefb41549e5e79c868303e1c296 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 23 Sep 2016 16:29:26 -0300 Subject: Coding style for utilities --- manifests/utils/base.pp | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) (limited to 'manifests/utils/base.pp') diff --git a/manifests/utils/base.pp b/manifests/utils/base.pp index f7ff201..b17e574 100644 --- a/manifests/utils/base.pp +++ b/manifests/utils/base.pp @@ -1,13 +1,38 @@ class nodo::utils::base { - package { [ 'screen', 'less', 'bzip2', 'openssl', 'lynx', 'unzip', - 'nmap', 'telnet', 'tree', 'whois', 'dosfstools', 'dnsutils', 'secure-delete', - 'bc', 'lsof', 'wipe', 'vrms', 'nsca-client', 'uuid-runtime', - 'multitail', 'bash-completion', 'zsh' ]: + package { [ + 'screen', + 'less', + 'bzip2', + 'openssl', + 'lynx', + 'unzip', + 'nmap', + 'telnet', + 'tree', + 'whois', + 'dosfstools', + 'dnsutils', + 'secure-delete', + 'bc', + 'lsof', + 'wipe', + 'vrms', + 'nsca-client', + 'uuid-runtime', + 'multitail', + 'bash-completion', + 'zsh', + ]: ensure => installed, } # Not using right now - package { [ 'logcheck', 'logcheck-database', 'denyhosts', 'logwatch' ]: + package { [ + 'logcheck', + 'logcheck-database', + 'denyhosts', + 'logwatch', + ]: ensure => absent, } } -- cgit v1.2.3