Merge pull request #161 from leahpar/master

Supervisord Support (Update & Bugfix)
This commit is contained in:
David Dollar
2012-03-16 18:47:15 -07:00
4 changed files with 17 additions and 5 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ describe Foreman::Export::Supervisord, :fakefs do
it "exports to the filesystem with concurrency" do
supervisord.export
File.read("/tmp/init/app.conf").should == example_export_file("supervisord/app-alpha-2.conf")
end
end
@@ -46,7 +46,7 @@ describe Foreman::Export::Supervisord, :fakefs do
it "can export with alternate template files" do
supervisord.export
File.read("/tmp/init/app.conf").should == "alternate_template\n"
end
end
@@ -19,3 +19,6 @@ stderr_logfile=/var/log/app/alpha-2-err.log
user=app
directory=/tmp/app
environment=PORT=5001
[group:app]
programs=app-alpha-1,app-alpha-2
@@ -19,3 +19,6 @@ stderr_logfile=/var/log/app/bravo-1-err.log
user=app
directory=/tmp/app
environment=PORT=5100
[group:app]
programs=app-alpha,app-bravo