diff options
author | varac <varacanero@zeromail.org> | 2013-10-30 21:56:26 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-10-30 21:56:26 +0100 |
commit | b481103c024036e745c22d8f75e676ed875f83cb (patch) | |
tree | a2ccc93dc78d8a826160e246192cfdc83773bf73 /lib/leap_cli/commands | |
parent | 90bf49387b3a1e3f5a8cc873e19f0e740a401e27 (diff) | |
parent | f2746ddc5a4cdf104970d3998ad33303a2af74fb (diff) |
Merge branch 'master' of ssh://code.leap.se/leap_cli
Diffstat (limited to 'lib/leap_cli/commands')
-rw-r--r-- | lib/leap_cli/commands/compile.rb | 2 | ||||
-rw-r--r-- | lib/leap_cli/commands/new.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/leap_cli/commands/compile.rb b/lib/leap_cli/commands/compile.rb index 8d0c9de..8ef7c6b 100644 --- a/lib/leap_cli/commands/compile.rb +++ b/lib/leap_cli/commands/compile.rb @@ -52,7 +52,7 @@ module LeapCli def compile_zone_file hosts_seen = {} f = $stdout - f.puts ZONE_HEADER % {:domain => provider.domain, :ns => provider.domain, :contact => provider.contacts.default.sub('@','.')} + f.puts ZONE_HEADER % {:domain => provider.domain, :ns => provider.domain, :contact => provider.contacts.default.first.sub('@','.')} max_width = manager.nodes.values.inject(0) {|max, node| [max, relative_hostname(node.domain.full).length].max } put_line = lambda do |host, line| host = '@' if host == '' diff --git a/lib/leap_cli/commands/new.rb b/lib/leap_cli/commands/new.rb index dc37265..286fde7 100644 --- a/lib/leap_cli/commands/new.rb +++ b/lib/leap_cli/commands/new.rb @@ -25,7 +25,7 @@ module LeapCli; module Commands private - DEFAULT_REPO = 'git://leap.se/leap_platform' # TODO: use https + DEFAULT_REPO = 'https://leap.se/git/leap_platform.git' # # creates a new provider directory |