Skip to content

Instantly share code, notes, and snippets.

@jen20
Created August 10, 2014 19:57
Show Gist options
  • Select an option

  • Save jen20/c6f84930e107d20a30cc to your computer and use it in GitHub Desktop.

Select an option

Save jen20/c6f84930e107d20a30cc to your computer and use it in GitHub Desktop.
class people::jen20::vagrant {
class { 'vagrant':
version => '1.6.3'
}
vagrant::plugin { 'vagrant-vmware-fusion':
license => "${my_homedir}/.dotfiles/vagrant/license.lic",
require => Repository['dotfiles'];
}
vagrant::plugin { 'vagrant-hostmanager':
}
sudoers { 'vagrant_hostmanager':
users => $::boxen_user,
hosts => 'ALL',
commands => [
"(root) NOPASSWD: /bin/cp /home/$::boxen_user/.vagrant.d/tmp/hosts.local /etc/hosts",
],
type => 'user_spec',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment