b3f685b5e1
This patch fixes some of the lint warnings/errors we've been getting on the forge. In some cases I've fixed real bugs also, in particular double quotes/single quotes in cases, which would have broken variable interpolation. Signed-off-by: Ken Barber <ken@bob.sh>
11 строки
367 Б
Puppet
11 строки
367 Б
Puppet
# Global configuration class for PuppetDB. See README.md for more details.
|
|
class puppetdb::globals (
|
|
$version = 'present',
|
|
$database = 'postgres',
|
|
) {
|
|
|
|
if !($::osfamily in ['RedHat', 'Suse', 'Archlinux', 'Debian', 'OpenBSD', 'FreeBSD']) {
|
|
fail("${module_name} does not support your osfamily ${::osfamily}")
|
|
}
|
|
|
|
}
|