Skip to content

Instantly share code, notes, and snippets.

View tas50's full-sized avatar
🌪️
Producting. That's a thing right?

Tim Smith tas50

🌪️
Producting. That's a thing right?
View GitHub Profile
{
"client": {
"name": "myhost",
"address": "myip",
"subscriptions": [
"r_monitoring",
"production"
],
"keepalive": {
"thresholds": {
chef-cookbooks Github Organization Report
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Totals:
Repos: 139
Pull requests: 349
Issues: 548
Watchers: 4075
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Repo Name ┃ Open PRs ┃ Issues ┃ Watchers ┃
MBP_tsmith:~/dev/chef-cookbooks/cron kitchen test default-freebsd-102
-----> Starting Kitchen (v1.4.2)
-----> Cleaning up any prior instances of <default-freebsd-102>
-----> Destroying <default-freebsd-102>...
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
Vagrant instance <default-freebsd-102> destroyed.
Finished destroying <default-freebsd-102> (0m3.55s).
-----> Testing <default-freebsd-102>
-----> Creating <default-freebsd-102>...
MBP_tsmith:~/dev/community_cookbooks/ruby_rbenv rspec
rbenv_global provider
with a fully configured resource
[2015-10-12T16:52:26-07:00] WARN: You declared a new resource #<Class:0x007fdc1c9d37d0> for resource rbenv_gem, but it comes alphabetically after LWRP resource rbenv_gem from cookbook rbenv and has the same filters ({}), so it will not be used. Use override: true if you want to use it for rbenv_gem.
[2015-10-12T16:52:26-07:00] WARN: RbenvGem already exists! Deprecation class overwrites LWRP resource rbenv_gem from cookbook rbenv
[2015-10-12T16:52:26-07:00] WARN: You declared a new resource #<Class:0x007fdc1c9abb68> for resource rbenv_ruby, but it comes alphabetically after LWRP resource rbenv_ruby from cookbook rbenv and has the same filters ({}), so it will not be used. Use override: true if you want to use it for rbenv_ruby.
[2015-10-12T16:52:26-07:00] WARN: RbenvRuby already exists! Deprecation class overwrites LWRP resource rbenv_ruby from cookbook rbenv
======================================
@tas50
tas50 / gist:51436655202c7b895948
Created November 3, 2015 00:30
fedora22 failure
Recipe: java::openjdk
* yum_package[java-1.8.0-openjdk] action install
================================================================================
Error executing action `install` on resource 'yum_package[java-1.8.0-openjdk]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '2'
@tas50
tas50 / gist:a02531dbc8ddeaec6042
Last active November 21, 2015 01:55
Foodcritic failure on reprepro
/Users/tsmith/.chefdk/gem/ruby/2.1.0/gems/foodcritic-5.0.0/lib/foodcritic/chef.rb:69:in `resource_check?': Arguments cannot be nil or empty. (ArgumentError)
from /Users/tsmith/.chefdk/gem/ruby/2.1.0/gems/foodcritic-5.0.0/lib/foodcritic/chef.rb:16:in `resource_action?'
from /Users/tsmith/.chefdk/gem/ruby/2.1.0/gems/foodcritic-5.0.0/lib/foodcritic/rules.rb:559:in `block (5 levels) in load'
from /Users/tsmith/.chefdk/gem/ruby/2.1.0/gems/foodcritic-5.0.0/lib/foodcritic/rules.rb:554:in `each'
from /Users/tsmith/.chefdk/gem/ruby/2.1.0/gems/foodcritic-5.0.0/lib/foodcritic/rules.rb:554:in `any?'
from /Users/tsmith/.chefdk/gem/ruby/2.1.0/gems/foodcritic-5.0.0/lib/foodcritic/rules.rb:554:in `block (4 levels) in load'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:187:in `block in each'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `upto'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.6.2/
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2015-11-30 11:17:29 -0800 using RuboCop version 0.35.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 2
Lint/AmbiguousOperator:
@tas50
tas50 / gist:d58d2ba2bb6701e758de
Created December 17, 2015 01:15
Hybrid stack output
"counters": {
"network": {
"interfaces": {
"eth1": {
"rx": {
"bytes": "346367346",
"drop": "0",
"errors": "0",
"overrun": "0",
"packets": "340814"
@tas50
tas50 / gist:dbb18c4644f8281b29a4
Created December 17, 2015 01:16
IPv6 only output
"counters": {
"network": {
"interfaces": {
"eth1": {
"rx": {
"bytes": "0",
"drop": "0",
"errors": "0",
"overrun": "0",
"packets": "0"
@tas50
tas50 / gist:35693a91b5057f2d4bba
Created February 16, 2016 21:56
compat failure
Installing chef
installing with rpm...
warning: /tmp/install.sh.3532/chef-12.7.2-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 83ef826a
Preparing... ########################################### [100%]
1:chef ########################################### [100%]
Thank you for installing Chef!
Transferring files to <instance-centos-511>
Starting Chef Client, version 12.7.2
Creating a new client identity for instance-centos-511 using the validator key.