Provision dev boxes with sudo wrapper script for testing
This commit is contained in:
parent
0330ec55e1
commit
019c23b74b
1 changed files with 11 additions and 0 deletions
|
@ -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(' ')
|
||||
"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue