Created
August 29, 2016 02:10
-
-
Save kojiromike/3f4f1ff58a73e093e1f8ba07b7a8cf88 to your computer and use it in GitHub Desktop.
Packer with salt provisioner that does not validate because of missing local_state_tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"ami_name": "bug.test.case.ami.{{timestamp}}", | |
"minion_id": "anything" | |
}, | |
"builders": [ | |
{ | |
"ami_description": "Test Case for Packer Salt Provisioner Bug", | |
"ami_name": "{{user `ami_name` | clean_ami_name}}", | |
"instance_type": "t2.micro", | |
"region": "us-east-1", | |
"source_ami": "ami-8e0b9499", | |
"ssh_username": "ubuntu", | |
"type": "amazon-ebs" | |
} | |
], | |
"provisioners": [ | |
{ | |
"bootstrap_args": "-G -X -i {{user `minion_id`}}", | |
"minion_config": "minion.conf", | |
"type": "salt-masterless" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment