Sha256: 28e16980929080d10c556ffc09017e5153f6cf2034194ba0a932331a4396e13f
Contents?: true
Size: 408 Bytes
Versions: 60
Compression:
Stored size: 408 Bytes
Contents
require 'puppet/indirector' class Puppet::Status extend Puppet::Indirector indirects :status, :terminus_class => :local attr :status, true def initialize( status = nil ) @status = status || {"is_alive" => true} end def to_pson(*args) @status.to_pson end def self.from_pson( pson ) self.new( pson ) end def name "status" end def name=(name) # NOOP end end
Version data entries
60 entries across 60 versions & 4 rubygems