File tree Expand file tree Collapse file tree 10 files changed +21
-0
lines changed Expand file tree Collapse file tree 10 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 20
20
21
21
mk_resource_methods
22
22
23
+ defaultfor operatingsystem : [ :ubuntu ]
24
+
23
25
def self . instances
24
26
block_until_ready
25
27
Original file line number Diff line number Diff line change 20
20
# Decided to just go with relative.
21
21
commands crm : 'crm'
22
22
23
+ defaultfor operatingsystem : [ :ubuntu ]
24
+
23
25
def self . instances
24
26
block_until_ready
25
27
Original file line number Diff line number Diff line change 20
20
# Required for block_until_ready
21
21
commands crm : 'crm'
22
22
23
+ defaultfor operatingsystem : [ :ubuntu ]
24
+
23
25
def self . instances
24
26
block_until_ready
25
27
[ ]
Original file line number Diff line number Diff line change 16
16
# Path to the crm binary for interacting with the cluster configuration.
17
17
commands crm : '/usr/sbin/crm'
18
18
19
+ defaultfor operatingsystem : [ :ubuntu ]
20
+
19
21
def self . instances
20
22
block_until_ready
21
23
Original file line number Diff line number Diff line change 26
26
27
27
mk_resource_methods
28
28
29
+ defaultfor operatingsystem : [ :ubuntu ]
30
+
29
31
# we need to check if we run at least pacemakerd version 1.1.13 before enabling feature discovery
30
32
# see http://blog.clusterlabs.org/blog/2014/feature-spotlight-controllable-resource-discovery
31
33
begin
Original file line number Diff line number Diff line change 21
21
22
22
mk_resource_methods
23
23
24
+ defaultfor operatingsystem : [ :ubuntu ]
25
+
24
26
def self . instances
25
27
block_until_ready
26
28
Original file line number Diff line number Diff line change 22
22
# Path to the crm binary for interacting with the cluster configuration.
23
23
commands crm : 'crm'
24
24
25
+ defaultfor operatingsystem : [ :ubuntu ]
26
+
27
+
25
28
# given an XML element (a <primitive> from cibadmin), produce a hash suitible
26
29
# for creating a new provider instance.
27
30
def self . element_to_hash ( e )
Original file line number Diff line number Diff line change 19
19
commands crm : 'crm'
20
20
commands cibadmin : 'cibadmin'
21
21
22
+ defaultfor operatingsystem : [ :ubuntu ]
23
+
22
24
def self . instances
23
25
block_until_ready
24
26
Original file line number Diff line number Diff line change 19
19
commands crm : 'crm'
20
20
commands cibadmin : 'cibadmin'
21
21
22
+ defaultfor operatingsystem : [ :ubuntu ]
23
+
22
24
def self . instances
23
25
block_until_ready
24
26
Original file line number Diff line number Diff line change 19
19
commands cibadmin : 'cibadmin'
20
20
commands crm : 'crm'
21
21
22
+ defaultfor operatingsystem : [ :ubuntu ]
23
+
22
24
def self . instances
23
25
block_until_ready ( 120 , true )
24
26
[ ]
You can’t perform that action at this time.
0 commit comments