Sha256: da1686f419b827af141b8aff7cdc1456ac4eb1263355ff561651bfb25ea1ba85
Contents?: true
Size: 544 Bytes
Versions: 72
Compression:
Stored size: 544 Bytes
Contents
# Onering Collector - Chef Properties plugin # provides collection of Chef metadata # report do chef = { :name => Facter.value('chef_nodename'), :environment => Facter.value('chef_environment'), :@run_list => Facter.value('chef_runlist'), :enabled => Facter.value('chef_enabled'), :version => Facter.value('chef_version'), :last_ran_at => (Time.at(Facter.value('chef_lastrun')).strftime('%Y-%m-%d %H:%M:%S %z') rescue nil) }.reject{|k,v| v === nil } property :chef, chef unless chef.empty? end
Version data entries
72 entries across 72 versions & 2 rubygems