move crm_configure_command to Pacemaker::Resource base class

This commit is contained in:
Adam Spiers 2014-03-03 15:53:27 +00:00
parent 128831d3b6
commit 8009b0fb64
2 changed files with 4 additions and 4 deletions

View File

@ -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 \

View File

@ -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