aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/http.pp
blob: 2d47b396ee2c3fe6580ba834dacbabe1f4d0a136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class nodo::utils::http (
  $ensure = 'installed',
) {
  package { [
    'curl',
    'httpie',
  ]:
    ensure => $ensure,
  }

  # Might be defined elsewhere
  if !defined(Package['wget']) {
    package { 'wget':
      ensure => installed,
    }
  }
}