Closed bracki closed 10 years ago
Seems related: https://github.com/mitchellh/packer/issues/626
Is this consistent for you? Is it possible to see your template?
It depends. I had one case where packer played nicely but puppet failed due to reasons.
{
"builders": [
{
"ami_name": "foo {{timestamp}}",
"instance_type": "m1.large",
"region": "eu-west-1",
"source_ami": "ami-1234567",
"ssh_username": "root",
"subnet_id": "subnet-1234567",
"type": "amazon-ebs",
"vpc_id": "vpc-1234567"
}
],
"provisioners": [
{
"scripts": [
"scripts/base.sh"
],
"type": "shell"
},
{
"manifest_file": "../../configuration-management/manifests/dev-masterless.pp",
"module_paths": [
"../../configuration-management/modules"
],
"type": "puppet-masterless"
}
]
}
Ha, turns out I compiled it with the wrong Go version (1.1.2). Go 1.2 works.
The builder seems to lose the SSH connection and never prints any output.