Sha256: 4b189be486e19110834fd0fe6e4e6d879e88338fb327b0953b2e6d580c08ea9b

Contents?: true

Size: 730 Bytes

Versions: 10

Compression:

Stored size: 730 Bytes

Contents

# Source from https://github.com/maoueh/nugrant/issues/12#issuecomment-27054150
# but slightly modified
Vagrant.configure('2') do |config|
   config.user.defaults = {
     "host" => {
       "rails_server_port" => 3000,
       "apps_folder" => "../../rails-apps/" },
     "plugins" => {
       "vagrant_cachier" => {
         "enabled" => false
       }
     }
   }

  puts "Host Rails Server Port: #{config.user.host.rails_server_port}"
  puts "Host App Folder: #{config.user.host.apps_folder}"
  puts "Gitconfig Name: #{config.user.gitconfig.name}"
  puts "Gitconfig Email: #{config.user.gitconfig.email}"

  if config.user.plugins.vagrant_cachier.enabled
    puts "Vagrant Cachier is Enabled!"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nugrant-2.1.3 test/resources/vagrantfiles/v2.defaults_null_values_in_vagrantuser
nugrant-2.1.2 test/resources/vagrantfiles/v2.defaults_null_values_in_vagrantuser
nugrant-2.1.1 test/resources/vagrantfiles/v2.defaults_null_values_in_vagrantuser
nugrant-2.1.0 test/resources/vagrantfiles/v2.defaults_null_values_in_vagrantuser
nugrant-2.0.2 test/resources/vagrantfiles/v2.defaults_null_values_in_vagrantuser
nugrant-2.0.1 test/resources/vagrantfiles/v2.defaults_null_values_in_vagrantuser
nugrant-2.0.0 test/resources/vagrantfiles/v2.defaults_null_values_in_vagrantuser
nugrant-2.0.0.rc1 test/resources/vagrantfiles/v2.defaults_null_values_in_vagrantuser
nugrant-2.0.0.pre2 test/resources/vagrantfiles/v2.defaults_null_values_in_vagrantuser
nugrant-2.0.0.pre1 test/resources/vagrantfiles/v2.defaults_null_values_in_vagrantuser