Use str2bool function to convert strings to boolean

This allows the usage of facts to determine, if the service
should be managed.