hashicorp / packer

Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
http://www.packer.io
Other
15.09k stars 3.33k forks source link

How can use override attributes from packer json file when using chef solo provisioner #3584

Closed krishnagade18 closed 8 years ago

krishnagade18 commented 8 years ago

Override the attributes which are part of role file in chef

{
  "type": "chef-solo",
  "cookbook_paths": ["chef/cookbooks/vendor"],
  "run_list": [
    "recipe[cicada-jenkins-cookbook::default]",
    "recipe[cicada-jenkins-cookbook::support_tools]",
    "recipe[cicada-jenkins-cookbook::cft_seed_dsl]",
    "recipe[cicada-jenkins-cookbook::terraform_seed_dsl]"
  ]
}

In here i need to override attributes how can i pass them in packer

rickard-von-essen commented 8 years ago

Please only use GitHub Issues for reporting bugs and feature requests. Do not ask for general help here. Use IRC #packer-tool on Freenode or the mailing list for that.

See https://www.packer.io/community/

If you are describing a bug or a feature request please reopen and try to add some more details to make it clearer.

Please also read the documentation.