module-puppetdb/manifests/globals.pp
Ken Barber b3f685b5e1 (maint) Lint fixes
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>
2015-10-05 13:40:54 -07:00

11 lines
367 B
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}")
}
}