Yes, that looks like the issue.

The suggested work around (setting *prevent_sudo*) doesn't work (gives a 
permission denied creating the staging dir under /tmp) but adding creation 
of the directories and setting ownership and permissions in my pre-req 
install_puppet.sh scripts does work:

sudo mkdir /tmp/packer-puppet-masterless
sudo mkdir /tmp/packer-puppet-masterless/module-0
sudo mkdir /tmp/packer-puppet-masterless/manifests
sudo chown -R ec2-user:ec2-user /tmp/packer-puppet-masterless
sudo chmod -R 775 /tmp/packer-puppet-masterless



On Tuesday, 19 September 2017 10:54:27 UTC+1, Rickard von Essen wrote:
>
> Maybe https://github.com/hashicorp/packer/issues/5347
>
>>
>>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/58398367-af69-4a66-8839-c7b93145c866%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to