7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# File 'manifests/virtualization/vagrant.pp', line 7
class software::virtualization::vagrant (
$ensure = $software::params::software_ensure,
) inherits software::params {
case $facts['os']['name'] {
'Darwin': {
package { 'vagrant':
ensure => $ensure,
provider => brewcask,
}
}
'Ubuntu': {
include '::vagrant'
}
'windows': {
package { 'vagrant':
ensure => $ensure,
provider => chocolatey,
install_options => ['--allow-empty-checksums'],
}
}
default: {
fail("The ${name} class is not supported on ${facts['os']['name']}.")
}
}
}
|