diff --git a/lib/puppet/provider/cs_location/pcs.rb b/lib/puppet/provider/cs_location/pcs.rb index 00650558..e5d42729 100644 --- a/lib/puppet/provider/cs_location/pcs.rb +++ b/lib/puppet/provider/cs_location/pcs.rb @@ -101,7 +101,7 @@ def flush name = rule_item.keys.first rule = rule_item[name] - score = rule['score-attribute'].nil? ? "score=#{rule['score']}" : "score-attribute=\"#{rule['score-attribute']}\"" + score = rule['score-attribute'].nil? ? "score=#{rule['score']}" : "score-attribute=#{rule['score-attribute']}" boolean_op = rule['boolean-op'] || 'and' expression = self.class.rule_expression(name, rule['expression'], boolean_op)