Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

octopus_ssh_tentacle_registration (9) Versions 0.2.0

handle tentacle registration for linux ssh servers

Policyfile
Berkshelf
Knife
cookbook 'octopus_ssh_tentacle_registration', '= 0.2.0', :supermarket
cookbook 'octopus_ssh_tentacle_registration', '= 0.2.0'
knife supermarket install octopus_ssh_tentacle_registration
knife supermarket download octopus_ssh_tentacle_registration
README
Dependencies
Quality 29%

SSH Octopus Tentacle Registration

The goal of this LWRP is to register an octopus tentacle connecting via SSH.

Always looking for help.

What it does

It registers a Linux agent with the Octopus Server via the API. To handle registration, the following occurs:

  1. Looks for a file that contains the Octopus machine id (stored in step #3)
    • If file is found, it will not try to register machine (i.e. good for repeated chef runs)
  2. Registers machine with Octopus Server
  3. Stores resulting Id for use in step #1

Usage

Installation

Add to your metadata.rb and use whatever package manager to install.

depends 'octopus_ssh_tentacle_registration'

In recipe

register_ssh_octopus_tenacle 'sample-server' do
  server_url 'https://my.octopus.server.me'
  api_key 'Octopus API Key'
  ssh_account_id 'Account ID of SSH user being used to connect to the boxes'
  environments ['environments', 'to put this', 'box in']
  roles ['roles this', 'box has']
  dotnet_core_platform 'linux-x64' # or osx-x64, not required
end

Testing this cookbook

Rspec

rspec spec --col

Kitchen

  1. You should replace the values in the [register recipe](./test/cookbooks/octopus-tentacle-registration-test/recipes/register.rb) with those are specific to you
  2. kitchen converge

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.2.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.2.0 failed this metric

FC092: Custom resources should not define actions: octopus_ssh_tentacle_registration/resources/registration.rb:5
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.2.0 failed this metric

octopus_ssh_tentacle_registration does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.2.0 passed this metric