Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Set crm as default provider for ubuntu #538

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/puppet/provider/cs_clone/crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

mk_resource_methods

defaultfor operatingsystem: [:ubuntu]
dploeger marked this conversation as resolved.
Show resolved Hide resolved

def self.instances
block_until_ready

Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/provider/cs_colocation/crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
# Decided to just go with relative.
commands crm: 'crm'

defaultfor operatingsystem: [:ubuntu]

def self.instances
block_until_ready

Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/provider/cs_commit/crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
# Required for block_until_ready
commands crm: 'crm'

defaultfor operatingsystem: [:ubuntu]

def self.instances
block_until_ready
[]
Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/provider/cs_group/crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
# Path to the crm binary for interacting with the cluster configuration.
commands crm: '/usr/sbin/crm'

defaultfor operatingsystem: [:ubuntu]

def self.instances
block_until_ready

Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/provider/cs_location/crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

mk_resource_methods

defaultfor operatingsystem: [:ubuntu]

# we need to check if we run at least pacemakerd version 1.1.13 before enabling feature discovery
# see http://blog.clusterlabs.org/blog/2014/feature-spotlight-controllable-resource-discovery
begin
Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/provider/cs_order/crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

mk_resource_methods

defaultfor operatingsystem: [:ubuntu]

def self.instances
block_until_ready

Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/provider/cs_primitive/crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
# Path to the crm binary for interacting with the cluster configuration.
commands crm: 'crm'

defaultfor operatingsystem: [:ubuntu]

# given an XML element (a <primitive> from cibadmin), produce a hash suitible
# for creating a new provider instance.
def self.element_to_hash(e)
Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/provider/cs_property/crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
commands crm: 'crm'
commands cibadmin: 'cibadmin'

defaultfor operatingsystem: [:ubuntu]

def self.instances
block_until_ready

Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/provider/cs_rsc_defaults/crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
commands crm: 'crm'
commands cibadmin: 'cibadmin'

defaultfor operatingsystem: [:ubuntu]

def self.instances
block_until_ready

Expand Down
2 changes: 2 additions & 0 deletions lib/puppet/provider/cs_shadow/crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
commands cibadmin: 'cibadmin'
commands crm: 'crm'

defaultfor operatingsystem: [:ubuntu]

def self.instances
block_until_ready(120, true)
[]
Expand Down
Loading