| Company | GitHub Organization | |-------------------------------| | Chef | chef-cookbooks | | CustomInk | customink-cookbooks | | Heavy Water Operations | hw-cookbooks |
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
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 |
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
require 'spec_helper' | |
require_relative '../../../libraries/poise_service_user.rb' | |
describe Bloomberg::Sauce::Providers::PoiseServiceUser do | |
step_into(:poise_service_user) | |
recipe do | |
poise_service_user 'monit' | |
end |
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
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 | |
root | |
instance-action: none | |
instance-id: i-0000caa3 |
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
- 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) |
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
source 'https://supermarket.chef.io' | |
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' | |
metadata |
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
~/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]' | |
================================================================================ |
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
* 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]' | |
================================================================================ |
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
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]" | |
end | |
end |
I hereby claim:
- I am johnbellone on github.
- I am jbellone (https://keybase.io/jbellone) on keybase.
- I have a public key ASArenNJXaWRd8m10mDOP5UtsXSdbrFvjFlhfxSGHCbOEAo
To claim this, I am signing this object:
NewerOlder