toquen 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba05c3cff5f5aebcb43a18ad9e4bb40f21dbfd61
4
- data.tar.gz: 5b3b541003443108fd84341f93e1006004e7eefe
3
+ metadata.gz: 03d480a8369ee1f7c855189c7db461f3d8c95bf8
4
+ data.tar.gz: a4755e38ef177e6d28febd66ebcfc34d34e98de8
5
5
  SHA512:
6
- metadata.gz: 9b3c4d4ed2941bd43fab04f815517e236ee9303807f0dc35fec2e85cc84532bf37342d6a1f0c4ee194b2ec654f159fd306792622fff2b3735e4aaa65a7c1043f
7
- data.tar.gz: 3ecb5c8fe475b96b940323125718db039844a7a9800374b4d491de39189be7a74daef4948300aee85f6e714698924325c44773c93b05604b7eeb40437ec8f385
6
+ metadata.gz: 595d496bbd37f96fe7c7ebe0187143621dbead9822341da298eb3e455238d5fb13943d9dedeab3bd134331e10c8f3decedc031ee2e40c8e374f3758e22ea6f2d
7
+ data.tar.gz: e4d1b969d8eb3a0db4ef5530e499e3813f3b509c2a680d826fe917f69f8e17c57367e9b40c179856f8e6fb50ace453a054ba9980082715a64ee3c69c1990d422
data/README.md CHANGED
@@ -170,7 +170,13 @@ Toquen can also drop off a config file meant for use by applications on your sys
170
170
  1. Toquen looks for a file named "apps.json" in your config folder, and if it's found, Toquen pulls out all of the keys that correspond with the server's roles and merges them together with the hash it's building (if this file contains secrets, consider *not* including in revision control)
171
171
  1. The resulting hash is dropped off in your user's home directory (this can be overridden with the apps_config_path config variable) with the filename "apps.json".
172
172
 
173
- This happens on every cook, and can be run separately as:
173
+ Most likely, you'll want to add this line to your deploy.rb:
174
+
175
+ ```ruby
176
+ after :cook, :update_appconfig
177
+ ```
178
+
179
+ so that it will be run on every cook. You can always run it separately as:
174
180
 
175
181
  ```shell
176
182
  cap <role name> update_appconfig
@@ -130,7 +130,6 @@ task :cook do
130
130
  end
131
131
  end
132
132
  before :cook, :update_kitchen
133
- after :cook, :update_appconfig
134
133
 
135
134
  desc "Add given role to machines"
136
135
  task :add_role, :role do |t, args|
@@ -1,3 +1,3 @@
1
1
  module Toquen
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toquen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Muller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-15 00:00:00.000000000 Z
11
+ date: 2014-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano