On Wed, Mar 11, 2015 at 2:18 AM, Ash26 <jasfashionsonl...@gmail.com> wrote:

> I am trying to build a Win 2008 R1 SP2 baked AMI using packer and puppet.
>
> My builder works fine and creates the AMI with puppet installed.
>
> Now in my provisioner I have a very simple puppet script and it is
> executing when I do a puppet apply on the instance.
>
> But inside packer it is failing with the below error. The  json file was
> validated successfully by packer.
>
> amazon-windows-ebs: Provisioning with Puppet...
>     amazon-windows-ebs: Creating Puppet staging directory...
>     amazon-windows-ebs: The syntax of the command is incorrect.
>
> This is my provisioner
>
> "provisioners":    [{
>   "type": "puppet-masterless",
>   "manifest_file":
> "C:\\Users\\xyz\\Downloads\\packer_0.7.5_windows_386\\site.pp"
> }]
>
>
Does the AMI have access to the file? Note I don't believe you can build a
local AMI for Windows with Packer.

I don't have a lot of experience building out AMI's but I can tell you that
there was some significant work recently put into Packer, AWS and Windows.
See http://jen20.com/2015/04/02/windows-amis-without-the-tears.html


> Please provide pointers.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/0732c5b0-1f9a-4827-8981-fb744f41126d%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/0732c5b0-1f9a-4827-8981-fb744f41126d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Rob Reynolds
Developer, Puppet Labs

*PuppetConf 2015 <http://2015.puppetconf.com/> is coming to Portland,
Oregon! Join us October 5-9.*
*Register now to take advantage of the Early Adopter discount
<https://www.eventbrite.com/e/puppetconf-2015-october-5-9-tickets-13115894995?discount=EarlyAdopter>
*
*--**save $349!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAMJiBK6JjUwJimCUQMCrKeT2a7A4bqTuaRRUujbFM7NHw1D%2B1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to