rodjek/puppet-lint — Issue #43: "false" != false (ditto for true)
Author: jamtur01
Created: 2011-12-19 23:54:39+00:00
State: open

A boolean toggle that was not performing as expected because there are quotes around the word "false"

class { 'foo' : boolFlag => "false" } was coming up TRUE

To fix it, lose the quotes

class { 'foo' : boolFlag => false }

It all depends what is done with boolFlag in your parametrized class.
More specifically what doesn't work is:

if "false" {
}

Because a string when (internally) converted to a boolean is true.

This is tracked in the following bug:
http://projects.puppetlabs.com/issues/5648