foreman 0.71.0 → 0.73.0

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: 0e07b4ff699d06ae3f19f2ca4f8aa9450fab5af7
4
- data.tar.gz: c79ee4af4fb6016cd35b3a2820f1f745a1fd1308
3
+ metadata.gz: 326f68222def21a4fbc9213a332d2d5c03f4c36b
4
+ data.tar.gz: bddb6d0f04d28a96a56b66a6044d434ef9a81ea2
5
5
  SHA512:
6
- metadata.gz: 06dccc809c0cf4aa1d1c72c1d2dd55a84a63fd717170a4314a3bb9e32a02f004a5f1bfa0cc94a8799881be71ff683882021a87aed4c28a9bd5759dae3d3bf3b1
7
- data.tar.gz: bf57a0abeec41379e6ba5f1722948ae11ab3469fb78399a28a8fb52d8bef8e1fb1ac0a684ca28a18d0b251336bc1228e2635156b5de56eea1307e09aeecdcfc5
6
+ metadata.gz: 9c00e5ccaaf5dc9499d1a22354893398a2df3b5165014b257fb68a31bf808be804dc2a7981e346cb80cb9a5e6c695e239f722c6e784498bd85b8de6e3bbac3db
7
+ data.tar.gz: d88b62a20d29cc42e23c20442713ac295702fe6f366d5b559aa2acc3ffdc7dacf322f3c3094bfbbebd343dba64943b52bc53d7bfa2c9dba40ebbbd3b1a5d4af2
@@ -10,16 +10,30 @@ class Foreman::Export::Upstart < Foreman::Export::Base
10
10
  clean file
11
11
  end
12
12
 
13
- write_template "upstart/master.conf.erb", "#{app}.conf", binding
13
+ write_template master_template, "#{app}.conf", binding
14
14
 
15
15
  engine.each_process do |name, process|
16
16
  next if engine.formation[name] < 1
17
- write_template "upstart/process_master.conf.erb", "#{app}-#{name}.conf", binding
17
+ write_template process_master_template, "#{app}-#{name}.conf", binding
18
18
 
19
19
  1.upto(engine.formation[name]) do |num|
20
20
  port = engine.port_for(process, num)
21
- write_template "upstart/process.conf.erb", "#{app}-#{name}-#{num}.conf", binding
21
+ write_template process_template, "#{app}-#{name}-#{num}.conf", binding
22
22
  end
23
23
  end
24
24
  end
25
+
26
+ private
27
+
28
+ def master_template
29
+ "upstart/master.conf.erb"
30
+ end
31
+
32
+ def process_master_template
33
+ "upstart/process_master.conf.erb"
34
+ end
35
+
36
+ def process_template
37
+ "upstart/process.conf.erb"
38
+ end
25
39
  end
@@ -1,5 +1,5 @@
1
1
  module Foreman
2
2
 
3
- VERSION = "0.71.0"
3
+ VERSION = "0.73.0"
4
4
 
5
5
  end
data/man/foreman.1 CHANGED
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "FOREMAN" "1" "June 2014" "Foreman 0.71.0" "Foreman Manual"
4
+ .TH "FOREMAN" "1" "June 2014" "Foreman 0.73.0" "Foreman Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBforeman\fR \- manage Procfile\-based applications
@@ -257,5 +257,18 @@ $ foreman start alpha \-f ~/myapp/Procfile
257
257
  .
258
258
  .IP "" 0
259
259
  .
260
+ .P
261
+ Start all processes except the one named worker:
262
+ .
263
+ .IP "" 4
264
+ .
265
+ .nf
266
+
267
+ $ foreman start \-c all=1,worker=0
268
+ .
269
+ .fi
270
+ .
271
+ .IP "" 0
272
+ .
260
273
  .SH "COPYRIGHT"
261
274
  Foreman is Copyright (C) 2010 David Dollar \fIhttp://daviddollar\.org\fR
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.71.0
4
+ version: 0.73.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Dollar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-03 00:00:00.000000000 Z
11
+ date: 2014-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor