open-dock 0.1.14 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36a07c0274e5f860e522cf5d0054df2ffeb496b7
4
- data.tar.gz: 08f8407704c902e46499a44f1f2e152dd2a6e6d9
3
+ metadata.gz: 8837724563d9082e6c69055d4d482fab926d9ae6
4
+ data.tar.gz: 0c1ba44d70b67f791576b1ada0b55d4a95aac9b3
5
5
  SHA512:
6
- metadata.gz: f9ed35d9f922d74eda160ec9b476c4339c760bcf4d637d5fc51c4f6248decba414c4ea664ad1cf29bf495d1fbfb3a1e2933edc1682f4cdd5bed3cab74358df80
7
- data.tar.gz: 32c7f411787f744477db96524e0aeb3f86efa0595b3e06ec0ce300cb3d88b0edd60e9269fa86dc88fae09087acdd41f5e8c1901c6ea0a706dc8b9a8d7009f7f2
6
+ metadata.gz: 7b5c62fac1cbfe4f7a485c079383d7ad3a9a360772048bfc0c6d3cf8236ef38409f61c29c9129484f7c919c11343f6ffd7a049e08d46fea6936fb7c3867c38d5
7
+ data.tar.gz: 03d01d254b9876b01ceb9575fa74ba20b7937bbe9043992ece5080c2588c04082f97bcd71b41ffdca190c3a046af2a953c52a22925ab55d02c47e7e3856db26d
@@ -7,13 +7,14 @@ command :configure do |c|
7
7
  c.action do |args, options|
8
8
  options.default container: 'all'
9
9
  host = args[0]
10
- user = Ops::DEFAULT_USER
11
10
  containers = Docker::containers_for(host)
12
11
 
13
12
  if File.exists? "#{Ops::NODES_DIR}/#{host}.json" # Not a container ship
13
+ user = Ops::get_user_for(host)
14
14
  Chef::install(user, host)
15
15
  Chef::cook(user, host)
16
16
  else
17
+ user = Ops::DEFAULT_USER
17
18
  if options.container == "all"
18
19
  containers.each do |container_name, config|
19
20
  ssh_port = Docker::get_container_port config
@@ -1,3 +1,3 @@
1
1
  module OpenDock
2
- VERSION = "0.1.14"
2
+ VERSION = "0.1.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open-dock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Lebrijo