teleport/tool
Ev Kontsevoy 02f3459afc Better "sample config" implementation
Three changes:

- Sample configuration is no longer a dump of a string constant. It's
  generated using the same data structure used for configuration
  parsing. This guarantees that 'teleport configure' will always dump a
  valid sample config file.

- Added a unit test which validates sample configuration and  verifies
  its correctness

- MakeSampleConfig() does not return an error anymore. It will
  default   to 'localhost' with error logged instead of failing. It
  makes no sense to fail when generating an example. Also this makes
  code cleaner.
2016-02-23 23:42:36 -08:00
..
tctl Better "sample config" implementation 2016-02-23 23:42:36 -08:00
teleport Better "sample config" implementation 2016-02-23 23:42:36 -08:00
tsh Fixed password reading, changed hangouts dir to ioutils.Tempdir() 2016-02-22 23:59:20 +03:00