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 |
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
have_library: checking for tgetnum() in -lncurses... -------------------- yes | |
"gcc -o conftest -I../../.ext/include/x86_64-solaris2.11 -I../.././include -I../.././ext/readline -I/opt/local/include -std=gnu99 -fPIC conftest.c -L. -L../.. -L/opt/local/lib -Wl,-R/opt/local/lib -L. -L/opt/local/lib -Wl,-R/opt/local/lib -m64 -Wl,-R -Wl,/root/.rbenv/versions/1.9.3-p484/lib -L/root/.rbenv/versions/1.9.3-p484/lib -lruby-static -lncurses -lpthread -lrt -lsocket -ldl -lcrypt -lm -lc" | |
conftest.c: In function 't': | |
conftest.c:9:57: error: 'tgetnum' undeclared (first use in this function) | |
conftest.c:9:57: note: each undeclared identifier is reported only once for each function it appears in | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
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
# -*- mode: ruby; -*- | |
Vagrant.configure("2") do |config| | |
config.vm.guest = :freebsd | |
# config.vm.box_url = "http://files.wunki.org/freebsd-10.0-amd64-wunki.box" | |
# config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/vmware/opscode_freebsd-9.2_chef-provisionerless.box" | |
config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_freebsd-9.2_chef-provisionerless.box" | |
# config.vm.box = "freebsd-10.0-amd64-wunki" | |
config.vm.box = "opscode-freebsd-9.2" | |
config.vm.network "private_network", ip: "10.0.1.10" | |
config.omnibus.chef_version = :latest |
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
package "riak-1.4.8" do | |
package_name "riak-1.4.8-FreeBSD-amd64.tbz" | |
source "http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.8/freebsd/9/" | |
action :install | |
version "1.4.8" | |
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
# Running tests: | |
riak::default#test_0001_installs riak = 0.01 s = . | |
riak::default#test_0002_responds to riak ping = 0.35 s = . | |
riak::default#test_0003_emits riak stats = 0.00 s = . | |
Finished tests in 0.368258s, 8.1465 tests/s, 8.1465 assertions/s. | |
3 tests, 3 assertions, 0 failures, 0 errors, 0 skips |
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
Downloading repository file: https://packagecloud.io/basho/riak-cs.repo?os=centos&dist=6 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
113 227 0 227 0 0 494 0 --:--:-- --:--:-- --:--:-- 5279 | |
Loaded plugins: fastestmirror | |
Loading mirror speeds from cached hostfile | |
* base: mirror.tocici.com | |
* epel: mirrors.cat.pdx.edu | |
* extras: mirrors.syringanetworks.net | |
* updates: centos.eecs.wsu.edu |
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/cookbooks/umbraco-cookbook master ✗ 172d ⚑ ◒ | |
▶ knife ec2 server create --image ami-9ade1df2 --flavor m1.medium --region us-east-1 --user-data dat-boostrap.ps1 -x chef -P 'chef' -r 'role[sql_databass],recipe[sql_server::server]' --ssh-key aws-east | |
Instance ID: i-895146a4 | |
Flavor: m1.medium | |
Image: ami-9ade1df2 | |
Region: us-east-1 | |
Availability Zone: us-east-1c | |
Security Groups: default | |
Tags: Name: i-895146a4 | |
SSH Key: aws-east |
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
#!/bin/sh | |
if test -f "/etc/lsb-release" && grep -q DISTRIB_ID /etc/lsb-release; then | |
platform=`grep DISTRIB_ID /etc/lsb-release | cut -d "=" -f 2 | tr '[A-Z]' '[a-z]'` | |
platform_version=`grep DISTRIB_RELEASE /etc/lsb-release | cut -d "=" -f 2` | |
elif test -f "/etc/debian_version"; then | |
platform="debian" | |
platform_version=`cat /etc/debian_version` | |
elif test -f "/etc/redhat-release"; then |
OlderNewer