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
<?xml version='1.0'?> | |
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> | |
<service_bundle type='manifest' name='export'> | |
<service name='site/set-hostname' type='service' version='0'> | |
<create_default_instance enabled='true'/> | |
<single_instance/> | |
<dependency name='network' grouping='require_all' restart_on='error' type='ser | |
vice'> | |
<service_fmri value='svc:/milestone/network:default'/> | |
</dependency> |
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 'formula' | |
class TmuxIterm2 < Formula | |
url 'https://iterm2.googlecode.com/files/tmux-for-iTerm2-20120203.tar.gz' | |
sha1 'b0c78e3f142cc735f0518951c04eab947ca7c95b' | |
head 'git://tmux.git.sourceforge.net/gitroot/tmux/tmux' | |
depends_on 'pkg-config' => :build | |
depends_on 'libevent' |
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
gem install therubyracer | |
Fetching: ref-1.0.2.gem (100%) | |
Fetching: therubyracer-0.11.4.gem (100%) | |
Building native extensions. This could take a while... | |
ERROR: Error installing therubyracer: | |
ERROR: Failed to build gem native extension. | |
/usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb | |
checking for main() in -lpthread... yes | |
creating Makefile |
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
SHELL = /bin/sh | |
# V=0 quiet, V=1 verbose. other values don't work. | |
V = 0 | |
Q1 = $(V:1=) | |
Q = $(Q1:0=@) | |
n=$(NULLCMD) | |
ECHO1 = $(V:1=@$n) | |
ECHO = $(ECHO1:0=@echo) |
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
SHELL = /bin/sh | |
# V=0 quiet, V=1 verbose. other values don't work. | |
V = 0 | |
Q1 = $(V:1=) | |
Q = $(Q1:0=@) | |
n=$(NULLCMD) | |
ECHO1 = $(V:1=@$n) | |
ECHO = $(ECHO1:0=@echo) |
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
cheeseplus at hanuman in ~/projects/cookbooks/riak on sgt-freebsd* | |
$ kitchen test default-freebsd | |
-----> Starting Kitchen (v1.1.0) | |
-----> Cleaning up any prior instances of <default-freebsd-92> | |
-----> Destroying <default-freebsd-92>... | |
Finished destroying <default-freebsd-92> (0m0.00s). | |
-----> Testing <default-freebsd-92> | |
-----> Creating <default-freebsd-92>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'opscode-freebsd-9.2'... |
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
---- Begin output of vagrant up --no-provision --provider=virtualbox ---- | |
STDOUT: Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'opscode-freebsd-9.2'... | |
Progress: 10% | |
Progress: 20% | |
Progress: 30% | |
Progress: 50% | |
Progress: 70% | |
Progress: 90% | |
[default] Matching MAC address for NAT networking... |
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
{riak_kv, [ | |
{add_paths, [ | |
"/usr/lib/riak-cs/lib/riak_cs-1.4.1/ebin" | |
]}, |
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
[health_check] Executing `find /opt/chef/ -type f | xargs ldd > ldd.out 2>/dev/null` | |
[health_check] *** Health Check Failed, Summary follows: | |
[health_check] *** The following Omnibus-built libraries have unsafe or unmet dependencies: | |
[health_check] --> /opt/chef/embedded/lib/ruby/1.9.1/x86_64-solaris2.11/readline.so | |
[health_check] *** The following Omnibus-built binaries have unsafe or unmet dependencies: | |
[health_check] *** The following libraries cannot be guaranteed to be on target systems: | |
[health_check] --> /lib/64/libtermcap.so.1 | |
[health_check] --> /lib/64/libcurses.so.1 | |
[health_check] *** The precise failures were: | |
[health_check] --> /opt/chef/embedded/lib/ruby/1.9.1/x86_64-solaris2.11/readline.so |
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
## curl the raw version of this gist like this: | |
## curl -s -L https://gist.github.com/bixu/5316445/raw/[revision]/ruby-2.0.0-p0+on+smartos | bash | |
pkgin -y install build-essential libyaml readline libxml2 libxslt | |
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile |