diff --git a/lib/puppet/provider/postgresql_conf/ruby.rb b/lib/puppet/provider/postgresql_conf/ruby.rb index f83a7d8e4e..d1f9218e70 100644 --- a/lib/puppet/provider/postgresql_conf/ruby.rb +++ b/lib/puppet/provider/postgresql_conf/ruby.rb @@ -22,7 +22,7 @@ def parse_config line_number = index + 1 matches = line.match(active_values_regex) if matches - attributes_hash = { line_number: line_number, key: matches[:key], ensure: 'present', value: matches[:value].gsub("'", ''), comment: matches[:comment] } + attributes_hash = { line_number: line_number, key: matches[:key], ensure: 'present', value: matches[:value].delete("'"), comment: matches[:comment] } active_settings.push(attributes_hash) end end