Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

Combination of Existing Provisioners should work with the new provisioners added for Azure #51

Closed
mohitarora opened this issue Mar 13, 2015 · 5 comments
Labels
Milestone

Comments

@mohitarora
Copy link

We were trying to use puppet provisioner with azure-custom-script-extension. Puppet provisioner provides lot of benefits like auto mounting of modules and manifests directory. There can be a work around using azure-powershell provisioner which we are trying.

It would be great if out of the box combination of provisioners work.

@paulmey
Copy link
Member

paulmey commented Mar 14, 2015

What is the unexpected behavior you're seeing? I'm not entirely familiar with the azure-custom-script-extension, but I'll gladly help fix it anyway... :-)

@mohitarora
Copy link
Author

unexpected behavior is that puppet provisioner is not event executed :)

@paulmey
Copy link
Member

paulmey commented Mar 16, 2015

Are you deploying Linux or Windows? On Linux, I'd advise to use the built-in Packer shell provisioner. The custom script is a solution for Windows not having a ssh shell-like provisioner in Packer.

If you are deploying Windows, packer-azure expects only one custom-script provisioner entry. It adds sysprep at the end of the script (https://github.com/MSOpenTech/packer-azure/blob/master/packer/provisioner/azureVmCustomScriptExtension/provisioner.go#L186-191).
I think we should move this out of the provisioner. Then, together with #54 it might work...?

@paulmey paulmey added the bug label Mar 16, 2015
@paulmey paulmey added this to the v1.0 milestone Mar 16, 2015
@mohitarora
Copy link
Author

We are using windows.

We can live with just one script and in the end of the script we can execute our puppet run but #54 is the key in that scenario.

@boumenot
Copy link
Member

No progress has been made on this issue in > a year, so I'm closing. The ARM builder is the way forward for Packer on Azure, so please re-test against this version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants