From 4b3c8eca252f4937a7f65fd40e07f75ea71597dc Mon Sep 17 00:00:00 2001 From: "Brideau, Patrick" Date: Fri, 13 Dec 2024 12:35:59 -0500 Subject: [PATCH] fix: remove escaped quote in score-attribute definition --- lib/puppet/provider/cs_location/pcs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)