agent: Provide log info about encryption. Fixes #151.

pull/168/head
Armon Dadgar 11 years ago
parent 88d91c6ee0
commit 91b52176d8

@ -326,6 +326,8 @@ func (c *Command) Run(args []string) int {
config.Ports.HTTP, config.Ports.DNS, config.Ports.RPC)) config.Ports.HTTP, config.Ports.DNS, config.Ports.RPC))
c.Ui.Info(fmt.Sprintf(" Cluster Addr: %v (LAN: %d, WAN: %d)", config.AdvertiseAddr, c.Ui.Info(fmt.Sprintf(" Cluster Addr: %v (LAN: %d, WAN: %d)", config.AdvertiseAddr,
config.Ports.SerfLan, config.Ports.SerfWan)) config.Ports.SerfLan, config.Ports.SerfWan))
c.Ui.Info(fmt.Sprintf("Gossip encrypt: %v, RPC-TLS: %v, TLS-Incoming: %v",
config.EncryptKey != "", config.VerifyOutgoing, config.VerifyIncoming))
// Enable log streaming // Enable log streaming
c.Ui.Info("") c.Ui.Info("")

Loading…
Cancel
Save