Puppet Class: tungsten::tungstenvertica::params

Inherited by:
tungsten::tungstenvertica
Defined in:
manifests/tungstenvertica/params.pp

Overview



17
18
19
20
21
22
23
24
25
26
27
28
# File 'manifests/tungstenvertica/params.pp', line 17

class tungsten::tungstenvertica::params (
) {
	if ($operatingsystem =~ /(?i:centos|redhat|oel|OracleLinux|SLES)/) {
    # Do nothing
    $provider = "rpm"
	} elsif ($operatingsystem =~ /(?i:debian|ubuntu)/) {
	  # Do nothing
	  $provider = "dpkg"
	} else {
		fail("Installing Vertica in the ${module_name} module is not supported on an ${::operatingsystem} based system.")
	}
}