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
diff --git a/attributes/default.rb b/attributes/default.rb | |
index 09d1fc1..ee2e575 100644 | |
--- a/attributes/default.rb | |
+++ b/attributes/default.rb | |
@@ -1,8 +1,8 @@ | |
# | |
-# Cookbook Name:: build-essential | |
+# Cookbook:: build-essential | |
# Attributes:: default | |
# |
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
MBP:~/dev/chef-cookbooks bundle exec rubocop . --config .rubocop.yml | |
Inspecting 3093 files | |
.C..CC..C...C......C......CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC..C..CC..C...C...C..CC.CCCCCC.....C.CCCCC...CC....CCC..C...C.............C.CC....................................CC.............C..CC.CC..C.CC.CCCCCCC..C..C.......................C.................C.......................C....C..C...C....C.CCC..C...C....C...C..C.....CCCC...........C...C....C..CC....CC...........................................C..CCCCC.C...CC............C........................C.....CC...C......CC.C.CWC..WCCCCCWWWWCC..........C............C..CC...C..C..CC.........CC...C..CC.C.CCCCC..C...........CC..CCC....CCCCCCCCCCCCCC.CCCC..C..CCCCCCCCCCC.CCCCCCCCCCCCCCCCCCC.CCCC..........C............C....C.C......C.CCCCC.CCCCC.CCCCCC.CCCCC.C........C...CCCCCC...................................................CC.C....CC..C.C....CCCCCCCCCCCCCCCCCCC...C...C................CC....CCCCCCC.....C..C.W..C..C............ |
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
MBP:~/dev/chef-cookbooks/chef-client (master) bundle exec rubocop -a . | |
Inspecting 40 files | |
....CCC.CCCC...C.C.C.C.................. | |
Offenses: | |
attributes/default.rb:4:1: C: [Corrected] Properly format comment headers for YARD | |
# Cookbook Name:: chef-client | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
attributes/default.rb:7:1: C: [Corrected] Properly format comment headers for YARD |
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
W: Size of file /var/lib/apt/lists/partial/packages.chef.io_current-apt_dists_precise_Release.gpg is not what the server reported 183 154 | |
W: Size of file /var/lib/apt/lists/partial/packages.chef.io_current-apt_dists_precise_Release is not what the server reported 1841 154 | |
W: Size of file /var/lib/apt/lists/partial/packages.chef.io_current-apt_dists_precise_main_binary-amd64_Packages is not what the server reported 18761 13468 | |
W: Size of file /var/lib/apt/lists/partial/packages.chef.io_current-apt_dists_precise_main_binary-i386_Packages is not what the server reported 6128 154 |
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
31 files inspected, no offenses detected | |
/Users/tsmith/.rbenv/versions/2.3.1/bin/ruby -I/Users/tsmith/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-support-3.5.0/lib:/Users/tsmith/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.3/lib /Users/tsmith/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.5.3/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb | |
Ignoring eventmachine-1.2.0.1 because its extensions are not built. Try: gem pristine eventmachine --version 1.2.0.1 | |
An error occurred in a `before(:suite)` hook. | |
Failure/Error: | |
berksfile.sources.collect do |source| | |
Thread.new do | |
begin | |
Berkshelf.formatter.msg("Fetching cookbook index from #{source.uri}...") |
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
Ohai.plugin(:Acme) do | |
provides 'acme' | |
depends 'hostname' | |
collect_data(:linux, :darwin, :freebsd) do | |
acme Mash.new | |
if fqdn.to_s.downcase.include?('acme.net') | |
# extract just the datacenter portion using our standard linux naming schema of vps-123.POP.acme.net. Handle PHX2 -> PHX also | |
acme[:pop] = fqdn.split('.')[-3].gsub(/[0-9]/, '').upcase |
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
Installing dep_selector 1.0.4 with native extensions | |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
current directory: /Users/tsmith/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/dep_selector-1.0.4/ext/dep_gecode | |
/Users/tsmith/.rbenv/versions/2.3.1/bin/ruby -r ./siteconf20160808-33838-aa0l0f.rb extconf.rb | |
Ignoring dep-selector-libgecode-1.3.1 because its extensions are not built. Try: gem pristine dep-selector-libgecode --version 1.3.1 | |
*** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of necessary | |
libraries and/or headers. Check the mkmf.log file for more details. You may |
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
MBP:~/dev/chef-cookbooks/sudo (testing_updates) kitchen verify create-ubuntu-1204 | |
-----> Starting Kitchen (v1.10.2) | |
-----> Verifying <create-ubuntu-1204>... | |
Use `/Users/tsmith/dev/chef-cookbooks/sudo/test/integration/create` for testing | |
Target: ssh://[email protected]:2222 | |
✔ | |
✔ |
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
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
echo "Box type must be specified (virtualbox, vmware_desktop, parallels)" | |
exit 1 | |
fi | |
# Find all boxes which have updates | |
AVAILABLE_UPDATES=`vagrant box outdated --global 2>/dev/null | grep outdated | tr -d "*'" | cut -d ' ' -f 2` |
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
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
echo "Box type must be specified (virtualbox, vmware_desktop, parallels)" | |
exit 1 | |
fi | |
# Find all boxes which have updates | |
AVAILABLE_UPDATES=`vagrant box outdated --global 2>/dev/null | grep outdated | tr -d "*'" | cut -d ' ' -f 2` |