Skip to content

Instantly share code, notes, and snippets.

@scompt
Created November 10, 2010 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scompt/671002 to your computer and use it in GitHub Desktop.
Save scompt/671002 to your computer and use it in GitHub Desktop.
vagrant chef config
# Enable provisioning with chef solo, specifying a cookbooks path (relative
# to this Vagrantfile), and adding some recipes and/or roles.
#
# config.vm.provisioner = :chef_solo
# config.chef.cookbooks_path = "cookbooks"
# config.chef.add_recipe "mysql"
config.chef.add_role "gawker"
#
# You may also specify custom JSON attributes:
# config.chef.json = { :mysql_password => "foo" }
# Enable provisioning with chef server, specifying the chef server URL,
# and the path to the validation key (relative to this Vagrantfile).
#
config.vm.provisioner = :chef_server
config.chef.chef_server_url = "https://api.opscode.com/organizations/sevenload1"
config.chef.validation_key_path = ".chef/sevenload1-validator.pem"
#
# If you're using the OpsCode platform, you'll have to set this as well.
# If you're using your own chef server, you may have to set it, but it depends
# on how your Chef server is configured.
config.chef.validation_client_name = "sevenload1-validator"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment