Provision dev boxes with sudo wrapper script for testing

This commit is contained in:
Fabio Rehm 2013-09-28 01:25:33 -03:00
parent 0330ec55e1
commit 019c23b74b

View file

@ -134,3 +134,14 @@ file {
mode => '0600',
require => Exec['download-private-key']
}
# Passwordless sudo wrapper script
file {
'/usr/bin/lxc-vagrant-wrapper':
ensure => 'present',
mode => '0755',
content => "
#!/usr/bin/env ruby
exec ARGV.join(' ')
"
}