Created
July 24, 2014 15:24
-
-
Save zanshin/ef25b61fb9ad144b47ea to your computer and use it in GitHub Desktop.
Vargantfile using chef-client as provisoner
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.hostname = "ome-telecom-creditcard-berkshelf" | |
config.vm.box = "ome-devvm-ubuntu-12.04.4a" | |
config.vm.box_url = "https://tools.ome.ksu.edu/artifacts/devvm/ome-devvm-ubuntu-12.04.4a.box" | |
config.ssh.private_key_path = ".ssh/ome_devvm" | |
config.vm.network :private_network, ip: "33.33.33.10" | |
config.vm.network :forwarded_port, guest: 8080, host: 9000 | |
config.vm.boot_timeout = 120 | |
config.berkshelf.enabled = true | |
config.vm.provision :chef_client do |chef| | |
chef.chef_server_url = "https://est-config2.campus.ksu.edu/organizations/ome" | |
chef.validation_key_path = "/Users/mhn/.chef/est2-chef-validator.pem" | |
# chef.environment = "ome-dev" | |
run_list = ['role[ome_base]'] | |
# chef.add_role = "ome_base" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the error I get.
Bringing machine 'default' up with 'virtualbox' provider...
Uploading cookbooks to 'https://est-config2.campus.ksu.edu/organizations/ome'
/Applications/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb:4:in
fetch': key not found: :retries (KeyError) from /Applications/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb:4:in
block in slice'from /Applications/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb:4:in
each' from /Applications/Vagrant/embedded/gems/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb:4:in
slice'from /Users/mhn/.vagrant.d/gems/gems/ridley-4.0.0/lib/ridley/client.rb:10:in
initialize' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/calls.rb:26:in
public_send'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/calls.rb:26:in
dispatch' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/calls.rb:63:in
dispatch'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/cell.rb:60:in
block in invoke' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/cell.rb:71:in
block in task'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/actor.rb:369:in
block in task' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/tasks.rb:55:in
block in initialize'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/tasks/task_fiber.rb:15:in
block in create' from (celluloid):0:in
remote procedure call'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/calls.rb:92:in
value' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/proxies/sync_proxy.rb:33:in
method_missing'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/proxies/cell_proxy.rb:17:in
_send_' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid.rb:169:in
new'from /Users/mhn/.vagrant.d/gems/gems/ridley-4.0.0/lib/ridley/client.rb:146:in
initialize' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/calls.rb:26:in
public_send'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/calls.rb:26:in
dispatch' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/calls.rb:63:in
dispatch'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/cell.rb:60:in
block in invoke' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/cell.rb:71:in
block in task'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/actor.rb:369:in
block in task' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/tasks.rb:55:in
block in initialize'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/tasks/task_fiber.rb:15:in
block in create' from (celluloid):0:in
remote procedure call'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/calls.rb:92:in
value' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/proxies/sync_proxy.rb:33:in
method_missing'from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid/proxies/cell_proxy.rb:17:in
_send_' from /Users/mhn/.vagrant.d/gems/gems/celluloid-0.16.0.pre2/lib/celluloid.rb:169:in
new'from /Users/mhn/.vagrant.d/gems/gems/ridley-4.0.0/lib/ridley/client.rb:35:in
open' from /Users/mhn/.vagrant.d/gems/gems/ridley-4.0.0/lib/ridley.rb:51:in
open'from /Users/mhn/.vagrant.d/gems/gems/berkshelf-3.1.3/lib/berkshelf.rb:157:in
ridley_connection' from /Users/mhn/.vagrant.d/gems/gems/berkshelf-3.1.3/lib/berkshelf/uploader.rb:49:in
upload'from /Users/mhn/.vagrant.d/gems/gems/berkshelf-3.1.3/lib/berkshelf/uploader.rb:36:in
run' from /Users/mhn/.vagrant.d/gems/gems/berkshelf-3.1.3/lib/berkshelf/berksfile.rb:542:in
upload'from /Users/mhn/.vagrant.d/gems/gems/vagrant-berkshelf-2.0.1/lib/berkshelf/vagrant/action/upload.rb:34:in
block in upload' from /Users/mhn/.vagrant.d/gems/gems/vagrant-berkshelf-2.0.1/lib/berkshelf/vagrant/action/upload.rb:32:in
each'from /Users/mhn/.vagrant.d/gems/gems/vagrant-berkshelf-2.0.1/lib/berkshelf/vagrant/action/upload.rb:32:in
upload' from /Users/mhn/.vagrant.d/gems/gems/vagrant-berkshelf-2.0.1/lib/berkshelf/vagrant/action/upload.rb:21:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Users/mhn/.vagrant.d/gems/gems/vagrant-berkshelf-2.0.1/lib/berkshelf/vagrant/action/install.rb:35:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/provision.rb:80:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/clear_forwarded_ports.rb:15:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/set_name.rb:19:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/clean_machine_folder.rb:17:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/check_accessible.rb:18:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:95:in
block in finalize_action'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builder.rb:116:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
block in run'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb:19:in
busy' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
run'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/call.rb:53:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:95:in
block in finalize_action' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builder.rb:116:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
block in run' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb:19:in
busy'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
run' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/call.rb:53:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:95:in
block in finalize_action'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builder.rb:116:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
block in run'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb:19:in
busy' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
run'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/call.rb:53:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/box_check_outdated.rb:36:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/config_validate.rb:25:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:95:in
block in finalize_action' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:95:in
block in finalize_action'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builder.rb:116:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
block in run'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb:19:in
busy' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
run'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/call.rb:53:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/config_validate.rb:25:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Users/mhn/.vagrant.d/gems/gems/vagrant-berkshelf-2.0.1/lib/berkshelf/vagrant/action/configure_chef.rb:22:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Users/mhn/.vagrant.d/gems/gems/vagrant-berkshelf-2.0.1/lib/berkshelf/vagrant/action/load_shelf.rb:27:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Users/mhn/.vagrant.d/gems/gems/vagrant-berkshelf-2.0.1/lib/berkshelf/vagrant/action/set_ui.rb:11:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/env_set.rb:19:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:95:in
block in finalize_action' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:95:in
block in finalize_action'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builder.rb:116:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
block in run'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb:19:in
busy' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
run'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/call.rb:53:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builder.rb:116:in
call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
block in run'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb:19:in
busy' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in
run'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:196:in
action_raw' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:173:in
block in action'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:434:in
lock' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:161:in
call'from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:161:in
action' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/batch_action.rb:82:in
block (2 levels) in run'