Skip to content

Instantly share code, notes, and snippets.

@aglarond
aglarond / node_edit.rb
Created April 11, 2013 11:13
Knife exec script for editing 'normal' attributes from the command line. Call with: knife exec node_edit.rb <node> <JSON>
#
# Author:: Dimitri Aivaliotis <dna@everyware.ch>
# Copyright:: Copyright (c) 2013 Every Ware Ltd
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
@aglarond
aglarond / omnibus.freebsd.build.md
Last active July 18, 2016 10:08
Compiling Omnibus-Chef on FreeBSD 9.1

Create a build user

# adduser

(I like to call mine 'builder')

All '$' prompts below will be as this user.