xhost-cookbooks/system

View on GitHub
Vagrantfile

Summary

Maintainability
Test Coverage
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure('2') do |config|
  config.vm.hostname = 'system'
  config.vm.box = 'ubuntu-14.04'
  config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_#{config.vm.box}_chef-provisionerless.box"
  config.omnibus.chef_version = 'latest'
  config.berkshelf.enabled = true

  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = File.expand_path('~/.berkshelf/cookbooks')
    # chef.log_level = :debug
    chef.json = {
      'system' => {
        'short_hostname' => 'system',
        'domain_name' => 'localdomain',
        'timezone' => 'Australia/Sydney',
      },
    }

    chef.run_list = [
      'recipe[system::default]',
    ]
  end
end