move crm_configure_command to Pacemaker::Resource base class
This commit is contained in:
parent
128831d3b6
commit
8009b0fb64
@ -24,6 +24,10 @@ module Pacemaker
|
|||||||
"crm resource stop '#{name}'"
|
"crm resource stop '#{name}'"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def crm_configure_command
|
||||||
|
"crm configure " + definition_string
|
||||||
|
end
|
||||||
|
|
||||||
# CIB object definitions look something like:
|
# CIB object definitions look something like:
|
||||||
#
|
#
|
||||||
# primitive keystone ocf:openstack:keystone \
|
# primitive keystone ocf:openstack:keystone \
|
||||||
|
@ -35,8 +35,4 @@ class Pacemaker::Resource::Group < Pacemaker::Resource
|
|||||||
str
|
str
|
||||||
end
|
end
|
||||||
|
|
||||||
def crm_configure_command
|
|
||||||
"crm configure " + definition_string
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user