RETIRED, Chef Cookbook - Pacemaker
Go to file
Ralf Haferkamp 0b93f5ea16 Fix extraction of stonith parameter from parameter string
Pacemaker::Resource.extract_hash() is written to extract things from a complete
CIB object definition. Therefore it rightfully expects whitespaces before the
data_type ("params" in this case). So we just add those here to make the string
parsable by extract_hash.

https://bugzilla.novell.com/show_bug.cgi?id=887244
2014-07-17 14:51:45 +02:00
attributes pacemaker: Change default op timeout from 10 minutes to 1 minute 2014-04-17 16:19:10 +02:00
files/default OCF RAs should be installed via packages 2014-01-08 20:54:59 +00:00
libraries newly created resources should not be started 2014-04-10 23:53:20 +01:00
providers implement order LWRP using library code 2014-03-25 18:37:51 +00:00
recipes Fix extraction of stonith parameter from parameter string 2014-07-17 14:51:45 +02:00
resources implement order LWRP using library code 2014-03-25 18:37:51 +00:00
spec newly created resources should not be started 2014-04-10 23:53:20 +01:00
templates pacemaker: Change default op timeout from 10 minutes to 1 minute 2014-04-17 16:19:10 +02:00
.gitignore add tmp/ to .gitignore 2014-04-04 11:51:42 +01:00
Gemfile fix Travis breakage 2014-06-19 15:05:12 +01:00
Guardfile changes to superclasses should trigger all tests 2014-04-15 19:36:58 +01:00
README.md fix Travis build badge 2014-03-29 11:47:59 +00:00
Rakefile add rubydeps support for graphing class hierarchy 2014-03-13 20:01:50 +00:00
metadata.rb Simplify roles a bit 2014-03-06 08:36:35 +01:00

README.md

Build Status

DESCRIPTION

This is a cookbook for installing and configuring pacemaker.

Recipes

default

Installs and start pacemaker.

Resources/Providers

There are 7 LWRPs for interacting with pacemaker.

primitive

Configure and delete primitive resource.

  • :create configures a primitive
  • :delete deletes a primitive

Examples

pacemaker_primitive drbd do
  agent "ocf:linbit:drbd"
  params {'drbd_resource' => 'r0'}
  op {'monitor' => { 'interval' => '5s', 'role' => 'Master' } }
  action :create
end

clone

TBU

ms

TBU

location

TBU

colocation

TBU

order

TBU

node

TBU

License and Author

Author:: Robert Choi taeilchoi1@gmail.com

Copyright:: 2013 Robert Choi

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.