cookbook 'teleport-ce', '~> 1.0.0'
teleport-ce (1) Versions 1.0.0 Follow0
Installs Gravitational Teleport open source version
cookbook 'teleport-ce', '~> 1.0.0', :supermarket
knife supermarket install teleport-ce
knife supermarket download teleport-ce
Teleport CE Cookbook
Installs the Gravitational Teleport Community Edition (Open source version).
This cookbook has been built following the instructions from https://gravitational.com/teleport/docs/intro/.
This cookbook supports the non-commercial features:
- Local connector with default otp
2FA
- Labels
- Session recording and sharing
- SSH and Kubernetes tunneling
High Availablity not yet implemented, to be done.
Supported Platforms
- Debian 8/9
If you want to add more platforms, feel free to open a PR!
Recipes
Downloaded archives of Teleport are from https://gravitational.com/teleport/download/.
teleport-ce::server
Installs the teleport binaries by downloading the -bin.tar.gz
archive for your linux distribution and architecture.
Then it writes a /etc/teleport.yaml
file using the attributes defined in attributes/teleport.rb
and sets a static token (tokens
attribute) used by nodes in order to join the cluster.
It also retrieves the CA pin of the server, which will be also used by the nodes in order to join the server, securing even more the connection.
It will also install a systemd unit to start teleport on node's restart, and start the service immediately.
Finally curl
will be installed in order to wait for Teleport to start requesting its ping API.
teleport-ce::node
Installs the teleport binaries by downloading the -bin.tar.gz
archive for your linux distribution and architecture.
Then it writes a /etc/teleport.yaml
file using the static token, CA pin, and the attributes defined in attributes/teleport.rb
.
It will also install a systemd unit to start teleport on node's restart, and start the service immediately, so that it will join the node having the teleport-ce::server
recipe in its run_list
.
Attributes
Please look at the attributes/teleport.rb
file.
Usage
In order to use this cookbook:
- Add the cookbook to your chef repository.
- Add the teleport-ce::server recipe to the node that shall run the teleport daemon (only a single server supported yet).
- Add the teleport-ce::node recipe to the nodes that shall be a Teleport node
- Converge ! :)
Dependent cookbooks
apt >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Changelog
This file list changes made in each version of the this cookbook.
Unreleased
1.0.0 (2019-11-12)
- Initial release.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.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
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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 include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.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
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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 include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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 include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.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 include a tag that matches this cookbook version number