Merge pull request #136 from fnichol/foreman

---

Simple enough, but this helps when re-exporting runit services. Cheers, and thanks!

Conflicts:
	spec/foreman/export/runit_spec.rb
This commit is contained in:
David Dollar
2012-01-22 21:46:57 -05:00
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -33,4 +33,8 @@ describe Foreman::Export::Runit, :fakefs do
example_export_file('runit/app-bravo-1-log-run')
File.read("/tmp/init/app-bravo-1/env/PORT").should == "5100\n"
end
it "creates a full path to the export directory" do
expect { runit.export('/tmp/init', :concurrency => "alpha=2,bravo=1") }.to_not raise_error(Errno::ENOENT)
end
end