jordansissel/puppet-examples — pull request #1 by ChineduUzoka (2012-03-08 13:43:38+00:00)
Title: Update nodeless-puppet/modules/truth/plugins/puppet/parser/functions/has...

..._role.rb
I am using this function but noticed two things. If the facter variable server_tags is not defined on the host it throws a "private method `split' called for :undefined:Symbol"

After that was solved the statements in truth::enforcer are evaluated if the facter variable server_tags is not defined

I am not a ruby guy as yet but learnt a few things

Please amend the code so that it behaves better than what i accomplished