Skip to content

Instantly share code, notes, and snippets.

['-']% vagrant up --provider=docker
Bringing machine 'default' up with 'docker' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
docker provider:
* One of "build_dir" or "image" must be set
VagrantPlugins::DockerProvisioner::Config:
* The following settings shouldn't exist: build_dir
### ondemand
"us-east"
"us-west-2"
"us-west"
"eu-ireland"
"apac-sin"
"apac-tokyo"
"apac-syd"
"sa-east-1"
Error: Package: perl-DateTime-Format-Builder-0.8000-2.el6.noarch (@epel)
Requires: perl(:MODULE_COMPAT_5.10.1)
Removing: 4:perl-5.10.1-127.15.amzn1.i686 (@amzn-main)
perl(:MODULE_COMPAT_5.10.1)
Updated By: 4:perl-5.16.3-280.30.amzn1.i686 (amzn-main)
Not found
...
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
# basic graphte and httpd install
# https://github.com/graphite-project/graphite-web
# Ver. 0.9.12
rpm -ivh http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install -y python-devel pycairo Django django-tagging python-twisted python-zope-interface fontconfig fontconfig-devel mod_wsgi python-pip pytz pyparsing python-memcached memcached
yum install -y httpd
pip-python install whisper
# Stopping firewall
/etc/init.d/iptables stop
# Install EPEL-6 yum repo
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# Install Erlang
yum -y install erlang
# Install RabbitMQ from RPM
#!/usr/bin/env ruby
require 'net/https'
require 'json'
require 'string-irc'
require 'time'
ika_url = 'http://localhost/privmsg'
ika_port = PORT
ika_channel = CHANNEL
#!/usr/bin/env ruby
# -*- encoding: utf-8 -*-
require 'cinch'
require 'weather_jp'
bot = Cinch::Bot.new do
configure do |c|
c.server = IPADDR
#!/usr/bin/env ruby
require 'twitter'
client = Twitter::REST::Client.new do |config|
config.consumer_key = ""
config.consumer_secret = ""
config.access_token = ""
config.access_token_secret = ""
end