canzea 0.1.26 → 0.1.27
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 +4 -4
- data/lib/canzea/version.rb +1 -1
- data/lib/canzea.rb +5 -7
- data/lib/helper-run-class.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 393b5d9b31d9e343c1005490a883a41d316cf8da
|
4
|
+
data.tar.gz: c394a1d48509fd257f742d7d80e4e9e5619c31b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73b57810677334a3b1ad6153d16fd15e4e460901e134a61144445ae5465772ae96665d8c18debccff48ecbac985472315c8bac56fe69dfe46d38a60e92e3951f
|
7
|
+
data.tar.gz: eedf421864d7fe230ed988fe79b7c61fe7d7b355f619abb9160d4cb1617dfc1d19edcef4c6458ca8b0be9e432faff8a0c71852ad03ab021df3b679fe3cdd6357
|
data/lib/canzea/version.rb
CHANGED
data/lib/canzea.rb
CHANGED
@@ -101,15 +101,13 @@ module Canzea
|
|
101
101
|
ps = PlanStep.new
|
102
102
|
ps.runPhaseInstall opts[:role], opts[:solution], test, Integer(opts.fetch(:task, 1))
|
103
103
|
|
104
|
-
if (test == false)
|
105
|
-
gitRoot = opts.fetch(:gitRoot, "/opt/cloud-profile")
|
106
104
|
|
107
|
-
|
108
|
-
|
109
|
-
File.open("#{gitRoot}/configure.sh", 'a') { |file| file.puts("#!/bin/bash") }
|
110
|
-
end
|
105
|
+
if (test == false)
|
106
|
+
gitRoot = opts.fetch(:gitRoot, Canzea::config[:git_repo])
|
111
107
|
|
112
|
-
|
108
|
+
conf = { :gitRoot => gitRoot, :role => opts[:role], :solution => opts[:solution] }
|
109
|
+
ps = HelperRun.new
|
110
|
+
ps.run "playground", "update-config", JSON.generate(conf)
|
113
111
|
end
|
114
112
|
end
|
115
113
|
|
data/lib/helper-run-class.rb
CHANGED