aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils.pp
blob: fb3f0d3af1bef6dbab7e4f56d10ee55b45b04e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Common utilities
class utils {
  package { [ 'screen', 'less', 'bzip2', 'openssl', 'lynx', 'wget', 'unzip',
              'nmap', 'telnet', 'tree', 'whois', 'dosfstools', 'dnsutils',
              'bc' ]:
    ensure => installed,
  }

  if !defined(Package['git-core']) {
    package { 'git-core':
      ensure => installed,
    }
  }

  # Editor alternative
  file { "/etc/alternatives/editor":
    ensure  => "/usr/bin/vi",
    owner   => root,
    group   => root,
  }
}