cookbook 'octopus_ssh_tentacle_registration', '= 0.2.0'
octopus_ssh_tentacle_registration (9) Versions 0.2.0 Follow0
handle tentacle registration for linux ssh servers
cookbook 'octopus_ssh_tentacle_registration', '= 0.2.0', :supermarket
knife supermarket install octopus_ssh_tentacle_registration
knife supermarket download octopus_ssh_tentacle_registration
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:
- 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)
- Registers machine with Octopus Server
- 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
- You should replace the values in the [register recipe](./test/cookbooks/octopus-tentacle-registration-test/recipes/register.rb) with those are specific to you
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
0.2.0 failed this 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
0.2.0 failed this metric
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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
0.2.0 passed this 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
0.2.0 passed this metric