Solaris pfexec and chef-solo provisioner

25 views
Skip to first unread message

James F Wilkus

unread,
May 5, 2014, 12:23:40 PM5/5/14
to vagra...@googlegroups.com
Hi,

I'm trying to use chef-solo to provision some Solaris 10 VMs and the chef-solo provisioner looks to only support "sudo".

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mkdir -p /tmp/vagrant-chef-2
Stdout from the command:


Stderr from the command:
bash: sudo: command not found

I've set `config.solaris.suexec_cmd = 'pfexec'` in my Vagrantfile but it doesn't appear to work with the chef-solo provisioner.

I've also tried just creating a symlink from pfexec to sudo but that didn't work either since pfexec doesn't support the same command line options that are being provided to sudo when executed.

Besides installing sudo, does anyone have any hints on how to get this to work?

Thanks!

James
Reply all
Reply to author
Forward
0 new messages