puppetlabs/Razor — pull request #213 by lynxbat (2012-10-10 18:11:24+00:00)
Title: Fix for disabled policy being evaluated.

At some point in the recent past the policy creation changed in a way where #enabled did not evaluate into a bool.

This is causing disabled policies to be treated like they are enabled.

Since the backend of Razor may return strings instead of bool added a simple force to string (even though it is currently) and compare vs. 'true' as a String.

This needs to be updated better but this will fix the current issue.