92c653bf33
This reverts commit98cedba41e
. * remove limit set. * this settings broke deploy * Revert "rising file limits"11a7c94cdd
.
22 lines
638 B
Puppet
22 lines
638 B
Puppet
#
|
|
# This class is being used to check for compatibility with different operating systems
|
|
# If the operating system is not supported, it will fail early
|
|
#
|
|
|
|
class operatingsystem::checksupported (
|
|
) {
|
|
case $::operatingsystem {
|
|
centos, redhat, ubuntu : { }
|
|
default : { fail("Operating system $::operatingsystem is not supported") }
|
|
}
|
|
|
|
case $::architecture {
|
|
x86_64, amd64 : { }
|
|
default : { fail("Architecture $::architecture is not supported. 64-bit architecture is required") }
|
|
}
|
|
|
|
notify { 'operatingsystem':
|
|
message => "Detected OS $::operatingsystem, architecture $::architecture"
|
|
}
|
|
}
|