# Validate OS family
case $::osfamily {
+ RedHat: {}
Debian: {
- warning('Debian family is valid but only installable with tarball method')
+ warning('Debian has limited support, is less stable, less tested.')
}
- RedHat: {}
default: {
fail("Unsupported OS family: ${::osfamily}")
}
fail("Unsupported OS: ${::operatingsystem} ${::operatingsystemmajrelease}")
}
}
- Ubuntu: {
+ ubuntu: {
if $::operatingsystemmajrelease != '14.04' {
# Only tested on 14.04
fail("Unsupported OS: ${::operatingsystem} ${::operatingsystemmajrelease}")