Sha256: 9f3364aaef411d4beb4879ecf3f2880cdca22d68d1ed710182b1c28f2a3409b8

Contents?: true

Size: 384 Bytes

Versions: 20

Compression:

Stored size: 384 Bytes

Contents

module Ridley
  class NodeObject
    # Executes a Chef run on the node
    #
    # @return [HostConnector::Response]
    def chef_run
      resource.chef_run(self.public_hostname)
    end

    # Puts the configured encrypted data bag secret on the node
    #
    # @return [HostConnector::Response]
    def put_secret
      resource.put_secret(self.public_hostname)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ridley-connectors-2.4.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-2.3.1 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-2.3.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-2.2.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-2.1.2 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-2.1.1 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-2.1.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-2.0.1 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-2.0.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-2.0.0.rc1 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-1.7.1 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-1.7.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-1.6.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-1.5.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-1.4.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-1.3.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-1.2.1 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-1.2.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-1.1.0 lib/ridley-connectors/chef_objects/node_object.rb
ridley-connectors-1.0.1 lib/ridley-connectors/chef_objects/node_object.rb