make it puppet-lint compliant, and use proper scoping for puppet 2.8 migration ( ie, use $::foo instead of $foo for facts )