Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do not use global node attributes namespace

  • Loading branch information...
commit f03c12ed586d7921f691cb3a124290b20193fa7d 1 parent 69728ed
Michael Klishin michaelklishin authored
5 vagrant_base/travis_build_environment/attributes/default.rb
View
@@ -1,2 +1,3 @@
-default[:travis_build_environment][:hosts] = Hash.new
-default[:travis_build_environment][:builds_volume_size] = "350m"
+default[:travis_build_environment][:hosts] = Hash.new
+default[:travis_build_environment][:builds_volume_size] = "350m"
+default[:travis_build_environment][:use_tmpfs_for_builds] = false
2  vagrant_base/travis_build_environment/recipes/vagrant.rb
View
@@ -55,7 +55,7 @@
action :create
end
-if node[:use_tmpfs]
+if node.travis_build_environment.use_tmpfs_for_builds
mount "/home/vagrant/builds" do
fstype "tmpfs"
device "/dev/null" # http://tickets.opscode.com/browse/CHEF-1657, doesn't seem to be included in 0.10.0
Please sign in to comment.
Something went wrong with that request. Please try again.