intercity 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/intercity.gemspec +1 -1
- data/lib/intercity/cli/mysql.rb +2 -2
- data/lib/intercity/cli/server.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cc75c515b0d0ef540a80b70fc3e870e42bf20fa
|
4
|
+
data.tar.gz: f8920be943866d3c02cb9e33ec773390b75ac055
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ba541c2afcdf30454e909b0e473caec4e9b1a45b308aa8a903d98796d651ea6d47bdb41bad3aff3b9a263732632745aefcda543e937c6dd4bbf18c604a4852b
|
7
|
+
data.tar.gz: 6e3ba9d33bcf1e227c9aef1c839f82f594df0b11b5af66137f9e2175008ab9ffff36e703c0e733dc98ae01b3756195e65ca67149b84c79e2dcb04439bd741c89
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/intercity.gemspec
CHANGED
data/lib/intercity/cli/mysql.rb
CHANGED
@@ -58,7 +58,7 @@ module IntercityCLI
|
|
58
58
|
}}
|
59
59
|
end
|
60
60
|
|
61
|
-
File.open(node_file, "
|
61
|
+
File.open(node_file, "a+") do |f|
|
62
62
|
f.write(JSON.pretty_generate(json))
|
63
63
|
end
|
64
64
|
|
@@ -68,7 +68,7 @@ module IntercityCLI
|
|
68
68
|
with debian_frontend: :noninteractive do
|
69
69
|
host.user = user
|
70
70
|
|
71
|
-
upload!
|
71
|
+
upload! node_file, "/root/server_config.json"
|
72
72
|
|
73
73
|
execute 'chef-client -z -j ~/server_config.json -o recipe[mysql::server]'
|
74
74
|
end
|
data/lib/intercity/cli/server.rb
CHANGED
@@ -20,7 +20,7 @@ module IntercityCLI
|
|
20
20
|
execute "curl -L https://www.chef.io/chef/install.sh | sudo bash"
|
21
21
|
|
22
22
|
# Install chef-repo
|
23
|
-
execute "wget
|
23
|
+
execute "wget http://binaries.intercityup.com/cookbooks/cookbooks-2.3.0.tar.gz?client=cli -O cookbooks-2.3.0.tar.gz"
|
24
24
|
execute "tar zxf cookbooks-2.3.0.tar.gz"
|
25
25
|
|
26
26
|
execute "chef-client -z"
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|