# File lib/puppet/type/file.rb, line 383 383: def initialize(hash) 384: # Used for caching clients 385: @clients = {} 386: 387: super 388: 389: # If they've specified a source, we get our 'should' values 390: # from it. 391: unless self[:ensure] 392: if self[:target] 393: self[:ensure] = :symlink 394: elsif self[:content] 395: self[:ensure] = :file 396: end 397: end 398: 399: @stat = nil 400: end