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