group cmd assignment with its user
This commit is contained in:
parent
73a377cc75
commit
d8fd3b0048
@ -53,8 +53,6 @@ describe "Chef::Provider::PacemakerPrimitive" do
|
|||||||
# and later used to see whether to create or modify.
|
# and later used to see whether to create or modify.
|
||||||
expect(provider).to receive(:get_cib_object_definition).and_return(nil)
|
expect(provider).to receive(:get_cib_object_definition).and_return(nil)
|
||||||
|
|
||||||
cmd = "crm configure primitive keystone #{ra[:agent]}" + \
|
|
||||||
ra[:params_string] + ra[:meta_string] + ra[:op_string]
|
|
||||||
|
|
||||||
# Later, the :create action calls cib_object_exists? to check
|
# Later, the :create action calls cib_object_exists? to check
|
||||||
# that creation succeeded.
|
# that creation succeeded.
|
||||||
@ -62,7 +60,10 @@ describe "Chef::Provider::PacemakerPrimitive" do
|
|||||||
|
|
||||||
provider.run_action :create
|
provider.run_action :create
|
||||||
|
|
||||||
|
cmd = "crm configure primitive keystone #{ra[:agent]}" + \
|
||||||
|
ra[:params_string] + ra[:meta_string] + ra[:op_string]
|
||||||
expect(@chef_run).to run_execute(cmd)
|
expect(@chef_run).to run_execute(cmd)
|
||||||
|
|
||||||
expect(@resource).to be_updated
|
expect(@resource).to be_updated
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user