phpservermon/puphpet/puppet/modules/swap_file/manifests/params.pp

22 lines
394 B
Puppet

# == Class swap_file::params
#
# This class is meant to be called from swap_file
# It sets variables according to platform
#
class swap_file::params {
case $::osfamily {
'Debian': {
}
'RedHat': {
}
'windows': {
fail('Swap files dont work on windows')
}
default: {
warning("${::operatingsystem} not officially supported, but should work")
}
}
}