lib/puppet/type/transition.rb
# Whether or not the resource is insync is determined by the transition?()
# method of the provider. To transition or not to transition, that is the
# question.
Whether or not the resource is insync is determined by the transition?()
method of the provider. To transition or not to transition, that is the
question.
Whether or not the resource is insync is determined by the transition? () method of the provider . To transition or not to transition that is the question .
def insync?(is)
      case @resource["enable"]
      when :true
        !@resource.provider.transition?
      else
        true
      end
    end
def insync? ( is ) case @resource [ "enable" ] when :true ! @resource . provider . transition? else true end end
Whether or not the resource is insync is determined by the transition?
Whether or not the resource is insync is determined by the transition?
# If a transition should occur, the resource is not insync. # Return true, since a disabled transition is always insync.
is