Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve teleport configure subcommand #5559

Closed
klizhentas opened this issue Feb 12, 2021 · 2 comments · Fixed by #5577 or #6520
Closed

Improve teleport configure subcommand #5559

klizhentas opened this issue Feb 12, 2021 · 2 comments · Fixed by #5577 or #6520
Assignees
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements getting-started Features and bugs for beginner users, individuals, OSS users ux

Comments

@klizhentas
Copy link
Contributor

klizhentas commented Feb 12, 2021

What

It should ask you a couple of questions and generate a valid teleport.yaml and write it to the disk.

  • What is your cluster name? (For example example.com). Cluster name can not be changed, so pick a unique name. If you choose a name that matches your domain name, configuration will be easier.

  • Backend? Dir by default.

  • Acme. Should offer acme for auto cert generation

  • Should print the survey at the end.

Test

teleport configure --test /path should test config for errors.

@klizhentas klizhentas added the feature-request Used for new features in Teleport, improvements to current should be #enhancements label Feb 12, 2021
@klizhentas klizhentas added this to the 6.0 "San Diego" milestone Feb 12, 2021
@klizhentas klizhentas self-assigned this Feb 12, 2021
@klizhentas klizhentas added blocker Blocker for the milestone ux labels Feb 12, 2021
@webvictim
Copy link
Contributor

Related to #3248

klizhentas added a commit that referenced this issue Feb 16, 2021
Fixes #5559

Configure with -o file create file /etc/teleport.yaml.
This commit optimizes configure for getting users started instead of generating sample
files.

```bash
teleport configure -o file --cluster-name=example.com --acme [email protected]
```
klizhentas added a commit that referenced this issue Feb 18, 2021
Fixes #5559

Configure with -o file create file /etc/teleport.yaml.
This commit optimizes configure for getting users started instead of generating sample
files.

```bash
teleport configure -o file --cluster-name=example.com --acme [email protected]
```
klizhentas added a commit that referenced this issue Feb 19, 2021
Fixes #5559

Configure with -o file create file /etc/teleport.yaml.
This commit optimizes configure for getting users started instead of generating sample
files.

```bash
teleport configure -o file --cluster-name=example.com --acme [email protected]
```
russjones pushed a commit that referenced this issue Feb 20, 2021
Fixes #5559

Configure with -o file create file /etc/teleport.yaml.
This commit optimizes configure for getting users started instead of generating sample
files.

```bash
teleport configure -o file --cluster-name=example.com --acme [email protected]
```
@webvictim webvictim reopened this Feb 25, 2021
@webvictim
Copy link
Contributor

webvictim commented Feb 25, 2021

teleport configure --test (as described in the original comment) does not work:

gus@artemis:~$ sudo teleport configure --test /etc/teleport.yaml
ERROR:
unknown long flag '--test'

@klizhentas klizhentas modified the milestones: 6.0 "San Diego", 6.1 Feb 26, 2021
@klizhentas klizhentas added the getting-started Features and bugs for beginner users, individuals, OSS users label Mar 24, 2021
@klizhentas klizhentas removed the blocker Blocker for the milestone label Apr 15, 2021
@klizhentas klizhentas modified the milestones: 6.1, Runway Milestone Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements getting-started Features and bugs for beginner users, individuals, OSS users ux
Projects
None yet
2 participants