Sorry, it hadn't registered that you have a boolean property. Puppet properties can't deal with (real) false, so we use :true or :false. This means you need to coerce the input values to symbols by adding this line

    newvalues(:true, :false)