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