crowbar/crowbar-ha

View on GitHub
chef/cookbooks/pacemaker/spec/fixtures/order_constraint.rb

Summary

Maintainability
A
0 mins
Test Coverage
require_relative "../../libraries/pacemaker/constraint/order"

class Chef
  module RSpec
    module Pacemaker
      module Config
        ORDER_CONSTRAINT =
          ::Pacemaker::Constraint::Order.new("order1")
        ORDER_CONSTRAINT.score = "Mandatory"
        ORDER_CONSTRAINT.ordering = "primitive1 clone1"
        ORDER_CONSTRAINT.attrs_authoritative
        ORDER_CONSTRAINT_DEFINITION = "order order1 Mandatory: primitive1 clone1"
      end
    end
  end
end