Skip to content

Commit

Permalink
rspec ./spec/unit/puppet/provider/cs_clone_pcs_spec.rb:243
Browse files Browse the repository at this point in the history
Puppet::Type::Cs_clone::ProviderPcs when changing clone id each
instance calls cibadmin with the correct parameters
  • Loading branch information
Doninelli Davide authored and Doninelli Davide committed Oct 8, 2024
1 parent ad60397 commit 252ddfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/cs_clone/pcs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def change_clone_id(type, primitive, id, cib)
return unless doc.root.attributes['id'] != id

doc.root.attributes['id'] = id
cmd = [command(:cibadmin), '--replace', '--xpath', xpath, '--xml-text', doc.to_s.chop]
cmd = [command(:cibadmin), '--replace', '--xpath', xpath, '--xml-text', doc.to_s]
self.class.run_command_in_cib(cmd, cib)
end

Expand Down

0 comments on commit 252ddfd

Please sign in to comment.