Extra logic for str2bool function
In the current release of puppetlabs/std-lib, the str2bool function
will fail when passed a boolean. There is new logic to return a
boolean if provided one, however this is not in a release yet.

This commit is using if statements in the manifest to figure out if
we need to use the str2bool function.