intercity 0.1 → 0.1.1

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: 4346069156d4528cad92d302592e311863be9843
4
- data.tar.gz: c6dbeca166824234eabbe224612c630fba460880
3
+ metadata.gz: 1cc75c515b0d0ef540a80b70fc3e870e42bf20fa
4
+ data.tar.gz: f8920be943866d3c02cb9e33ec773390b75ac055
5
5
  SHA512:
6
- metadata.gz: 75b1708376987be21b2ba56ebf0d46f75a64bf99962b1bdbe7aa59c513cb5ab758f2efd23bdd61f84405fd8a337ccc9eac87904c93d30f4c76ae911b922a0d81
7
- data.tar.gz: ee8ef91c1e479adc7af2b2aa475eb1f0c309c872c60cc993bfcbf5bddacbc071f17f133492a1ea458231b4b450d1bd511270c192717b6503424302aced383a75
6
+ metadata.gz: 7ba541c2afcdf30454e909b0e473caec4e9b1a45b308aa8a903d98796d651ea6d47bdb41bad3aff3b9a263732632745aefcda543e937c6dd4bbf18c604a4852b
7
+ data.tar.gz: 6e3ba9d33bcf1e227c9aef1c839f82f594df0b11b5af66137f9e2175008ab9ffff36e703c0e733dc98ae01b3756195e65ca67149b84c79e2dcb04439bd741c89
checksums.yaml.gz.sig CHANGED
Binary file
data/intercity.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'intercity'
3
- s.version = '0.1'
3
+ s.version = '0.1.1'
4
4
  s.date = '2015-01-24'
5
5
  s.summary = 'Command-line interface for hosting Rails apps on your server.'
6
6
  s.authors = ['Michiel Sikkes']
@@ -58,7 +58,7 @@ module IntercityCLI
58
58
  }}
59
59
  end
60
60
 
61
- File.open(node_file, "w") do |f|
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! "#{address}.json", "/root/server_config.json"
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
@@ -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 https://github.com/intercity/chef-repo/releases/download/v2.3.0/cookbooks-2.3.0.tar.gz"
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intercity
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michiel Sikkes
metadata.gz.sig CHANGED
Binary file