lib/poolparty/modules/resourcing_dsl.rb
# Overrides for syntax
# Allows us to send require to require a resource
Overrides for syntax
Allows us to send require to require a resource
Overrides for syntax Allows us to send require to require a resource
def ensures(str = :present)
      if [:absent, :present].include?(str) 
        str == :absent ? is_absent : is_present
      else
        str
      end
    end
def ensures ( str = :present ) if [ :absent , :present ] . include? ( str ) str == :absent ? is_absent : is_present else str end end
Overrides for syntax
Allows us to send require to require a resource
Overrides for syntax Allows us to send require to require a resource
str