camptocamp/puppet-postgresql — pull request #32 by rradonic (2012-05-09 10:08:09+00:00)
Title: silenced dynamic scoping warnings in puppet 2.7

i've done two things here:

1) i've modified postgresql::debian::base to be a parametrized class, and that's how i now pass the $version parameter wherever this class gets included, instead of using dynamic scoping.

2) i've also explicitly scoped the augeasversion fact like so: $::augeasversion.

this has removed the dynamic scoping deprecation warnings i was getting in puppet 2.7, as dynamic scoping is getting removed in puppet 2.8. let me know if there's anything you want me to change here. cheers!