Created
December 16, 2014 06:38
-
-
Save tknerr/a9027f5ded3d80a81e0f to your computer and use it in GitHub Desktop.
Vagrant Chef Solo Provisioner Changes Provisioning Paths between Up and Provision
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
D:\Repos\_github\bills-kitchen\target\build\repo\tmp>vagrant up | |
Bringing machine 'foo' up with 'virtualbox' provider... | |
==> foo: Importing base box 'chef/ubuntu-12.04-i386'... | |
==> foo: Matching MAC address for NAT networking... | |
==> foo: Setting the name of the VM: tmp_foo_1418711517976_72019 | |
==> foo: Clearing any previously set network interfaces... | |
==> foo: Preparing network interfaces based on configuration... | |
foo: Adapter 1: nat | |
==> foo: Forwarding ports... | |
foo: 22 => 2222 (adapter 1) | |
==> foo: Booting VM... | |
==> foo: Waiting for machine to boot. This may take a few minutes... | |
foo: SSH address: 127.0.0.1:2222 | |
foo: SSH username: vagrant | |
foo: SSH auth method: private key | |
foo: Warning: Connection timeout. Retrying... | |
foo: | |
foo: Vagrant insecure key detected. Vagrant will automatically replace | |
foo: this with a newly generated keypair for better security. | |
foo: | |
foo: Inserting generated public key within guest... | |
foo: Removing insecure key from the guest if its present... | |
foo: Key inserted! Disconnecting and reconnecting using new SSH key... | |
==> foo: Machine booted and ready! | |
==> foo: Checking for guest additions in VM... | |
==> foo: Mounting shared folders... | |
foo: /vagrant => D:/Repos/_github/bills-kitchen/target/build/repo/tmp | |
foo: /tmp/vagrant-cache => D:/Repos/_github/bills-kitchen/target/build/home/.vagrant.d/cache/chef/ubuntu-12.04-i386 | |
foo: /tmp/vagrant-chef-3/chef-solo-1/cookbooks => D:/Repos/_github/bills-kitchen/target/build/repo/tmp/cookbooks | |
==> foo: Installing Chef 11.16.4 Omnibus package... | |
==> foo: Downloading Chef 11.16.4 for ubuntu... | |
==> foo: downloading https://www.chef.io/chef/metadata?v=11.16.4&prerelease=false&nightlies=false&p=ubuntu&pv=12.04&m=x86_64 | |
==> foo: to file /tmp/install.sh.1161/metadata.txt | |
==> foo: trying wget... | |
==> foo: url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_11.16.4-1_amd64.deb | |
==> foo: md5 2ffff5b4d80e4dcffc917f8eb2003a31 | |
==> foo: sha256 28b08975e7e33ac46c888616ec7fa232a0c624aeeda81e58a6047d2c6b62edfb | |
==> foo: downloaded metadata file looks valid... | |
==> foo: /tmp/vagrant-cache/vagrant_omnibus/chef_11.16.4-1_amd64.deb already exists, verifiying checksum... | |
==> foo: Comparing checksum with sha256sum... | |
==> foo: checksum compare succeeded, using existing file! | |
==> foo: Installing Chef 11.16.4 | |
==> foo: installing with dpkg... | |
==> foo: Selecting previously unselected package chef. | |
==> foo: (Reading database ... | |
==> foo: 56035 files and directories currently installed.) | |
==> foo: Unpacking chef (from .../chef_11.16.4-1_amd64.deb) ... | |
==> foo: Setting up chef (11.16.4-1) ... | |
==> foo: Thank you for installing Chef! | |
==> foo: Configuring cache buckets... | |
==> foo: Running provisioner: chef_solo... | |
==> foo: Detected Chef (latest) is already installed | |
Generating chef JSON and uploading... | |
==> foo: Running chef-solo... | |
==> foo: stdin: is not a tty | |
==> foo: [2014-12-16T06:33:18+00:00] INFO: Forking chef instance to converge... | |
==> foo: [2014-12-16T06:33:18+00:00] WARN: | |
==> foo: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
==> foo: SSL validation of HTTPS requests is disabled. HTTPS connections are still | |
==> foo: encrypted, but chef is not able to detect forged replies or man in the middle | |
==> foo: attacks. | |
==> foo: | |
==> foo: To fix this issue add an entry like this to your configuration file: | |
==> foo: | |
==> foo: ``` | |
==> foo: # Verify all HTTPS connections (recommended) | |
==> foo: ssl_verify_mode :verify_peer | |
==> foo: | |
==> foo: # OR, Verify only connections to chef-server | |
==> foo: verify_api_cert true | |
==> foo: ``` | |
==> foo: | |
==> foo: To check your SSL configuration, or troubleshoot errors, you can use the | |
==> foo: `knife ssl check` command like so: | |
==> foo: | |
==> foo: ``` | |
==> foo: knife ssl check -c /tmp/vagrant-chef-3/solo.rb | |
==> foo: ``` | |
==> foo: | |
==> foo: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
==> foo: [2014-12-16T06:33:18+00:00] INFO: *** Chef 11.16.4 *** | |
==> foo: [2014-12-16T06:33:18+00:00] INFO: Chef-client pid: 1441 | |
==> foo: [2014-12-16T06:33:19+00:00] INFO: Setting the run_list to ["recipe[hello]"] from CLI options | |
==> foo: [2014-12-16T06:33:19+00:00] INFO: Run List is [recipe[hello]] | |
==> foo: [2014-12-16T06:33:19+00:00] INFO: Run List expands to [hello] | |
==> foo: [2014-12-16T06:33:19+00:00] INFO: Starting Chef Run for vagrant.vm | |
==> foo: [2014-12-16T06:33:19+00:00] INFO: Running start handlers | |
==> foo: [2014-12-16T06:33:19+00:00] INFO: Start handlers complete. | |
==> foo: [2014-12-16T06:33:19+00:00] INFO: Chef Run complete in 0.0128905 seconds | |
==> foo: [2014-12-16T06:33:19+00:00] INFO: Running report handlers | |
==> foo: [2014-12-16T06:33:19+00:00] INFO: Report handlers complete | |
==> foo: Configuring cache buckets... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment