Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

John Bellone johnbellone

I may be slow to respond.
Block or report user

Report or block johnbellone

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View spec_helper.rb
require 'rspec'
require 'rspec_command'
require 'foodcritic'
module FunctionalHelpers
extend RSpec::Matchers::DSL
matcher :violate_rule do |rule_id = nil|
match do |cmd|
if location
View spec.rb
require 'spec_helper'
require_relative '../../../libraries/poise_service_user.rb'
describe Bloomberg::Sauce::Providers::PoiseServiceUser do
recipe do
poise_service_user 'monit'
jbellone@ip-1-71-19-3:~$ /usr/bin/ec2metadata |grep -v bloomberg
ami-id: ami-0000000b
ami-launch-index: 0
ami-manifest-path: FIXME
ancestor-ami-ids: unavailable
availability-zone: DRR1-1
block-device-mapping: ami
instance-action: none
instance-id: i-0000caa3
johnbellone /
Created Jan 14, 2016
poise-javascript error
- jenkins (2.4.1)
- libarchive (0.6.1)
- poise (2.5.0)
- poise-ruby (2.1.1)
- compat_resource (12.5.26)
Compiling Cookbooks...
Recipe: chef-sugar::default
(up to date)
Recipe: chef-vault::default
* chef_gem[chef-vault] action install (up to date)
johnbellone / Berksfile
Last active Sep 14, 2015
Poise Ruby and Javascript
View Berksfile
source ''
extension 'halite'
cookbook 'poise', gem: 'poise'
cookbook 'poise-javascript', gem: 'poise-javascript'
cookbook 'poise-ruby', gem: 'poise-ruby'
cookbook 'poise-ruby-build', gem: 'poise-ruby-build'
cookbook 'poise-languages', gem: 'poise-languages'
johnbellone /
Created Aug 27, 2015
poise breaking cookbook name
~/Projects/rc-cookbook % bin/rspec test/spec/libraries/rc_file_spec.rb
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 22193
Error executing action `create` on resource 'rc_file[/etc/skel/bashrc]'

| Company | GitHub Organization | |-------------------------------| | Chef | chef-cookbooks | | CustomInk | customink-cookbooks | | Heavy Water Operations | hw-cookbooks |

johnbellone /
Created May 28, 2015
Poise service issue.
* collectd_service[collectd] action enable
* directory[/etc/collectd.d] action create
- change mode from '0744' to '0644'
- restore selinux security context
* yum_package[collectd] action install (up to date)
* poise_service[collectd] action enable
Error executing action `enable` on resource 'poise_service[collectd]'
View demo.rb
target_dir = directory "/root/#{dir}"
node['liquibase_file_paths'].each do |filename|
remote_file "#{target_dir.path}/#{File.basename(filename)}" do
source "file:///#{Chef::Config[:file_cache_path]}"
notifies :run, "execute[liquibase migrate]"

Keybase proof

I hereby claim:

  • I am johnbellone on github.
  • I am jbellone ( on keybase.
  • I have a public key ASArenNJXaWRd8m10mDOP5UtsXSdbrFvjFlhfxSGHCbOEAo

To claim this, I am signing this object:

You can’t perform that action at this time.