Class: ChefHandlerForeman::ForemanFacts

Inherits:
Chef::Handler
  • Object
show all
Defined in:
lib/chef_handler_foreman/foreman_facts.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#blacklistObject

Returns the value of attribute blacklist.



20
21
22
# File 'lib/chef_handler_foreman/foreman_facts.rb', line 20

def blacklist
  @blacklist
end

#cache_expiredObject

Returns the value of attribute cache_expired.



23
24
25
# File 'lib/chef_handler_foreman/foreman_facts.rb', line 23

def cache_expired
  @cache_expired
end

#cache_fileObject

Returns the value of attribute cache_file.



22
23
24
# File 'lib/chef_handler_foreman/foreman_facts.rb', line 22

def cache_file
  @cache_file
end

#uploaderObject

Returns the value of attribute uploader.



19
20
21
# File 'lib/chef_handler_foreman/foreman_facts.rb', line 19

def uploader
  @uploader
end

#whitelistObject

Returns the value of attribute whitelist.



21
22
23
# File 'lib/chef_handler_foreman/foreman_facts.rb', line 21

def whitelist
  @whitelist
end

Instance Method Details

#reportObject



25
26
27
# File 'lib/chef_handler_foreman/foreman_facts.rb', line 25

def report
  send_attributes(prepare_facts)
end