Class: Ridley::NodeObject

Inherits:
Object
  • Object
show all
Defined in:
lib/ridley-connectors/chef_objects/node_object.rb

Instance Method Summary collapse

Instance Method Details

#chef_runHostConnector::Response

Executes a Chef run on the node



6
7
8
# File 'lib/ridley-connectors/chef_objects/node_object.rb', line 6

def chef_run
  resource.chef_run(self.public_hostname)
end

#put_secretHostConnector::Response

Puts the configured encrypted data bag secret on the node



13
14
15
# File 'lib/ridley-connectors/chef_objects/node_object.rb', line 13

def put_secret
  resource.put_secret(self.public_hostname)
end