Skip to content

Instantly share code, notes, and snippets.

View akoumjian's full-sized avatar

Alec Koumjian akoumjian

View GitHub Profile
@akoumjian
akoumjian / Second Test Post Update
Last active December 24, 2015 18:39
Edited by Stardate
stardate: 308f5e30-2def-11e3-8c72-68a86d0df4b0
created: 2013-10-05 18:56:00.605395
title: Second Test Post Update
I'm a lumberjack and I'm okay...
person:
user.present:
- uid: 1003
- gid: 1003
- require:
- group: person
group.present:
- gid: 1003
@akoumjian
akoumjian / ruby193.sls
Created July 26, 2013 01:23
Installing ruby193 on ubuntu precise
rubyppa:
pkgrepo.managed:
- name: deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu precise main
- ppa: brightbox/ruby-ng
- file: /etc/apt/sources.list.d/ruby-ng-precise.list
ruby1.9.3:
pkg.installed:
- require:
- pkgrepo: rubyppa
apache2:
pkg:
- installed
service:
- running
- reload: True
- watch:
- file: /etc/apache2/apache2.conf
- file: /etc/apache2/sites-available/phabricator.conf
rubyppa:
pkgrepo.managed:
- name: deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu precise main
- ppa: brightbox/ruby-ng
- file: /etc/apt/sources.list.d/ruby-ng-precise.list
ruby1.9.3:
pkg.installed
ruby_alternative:
rbenv-deps:
pkg.installed:
- pkgs:
- git
ruby-1.9.3-p429:
rbenv.installed:
- default: True
- require:
- pkg: rbenv-deps
vagrant@precise64:~$ sudo service syslog-ng restart
* Stopping system logging syslog-ng [ OK ]
* Starting system logging syslog-ng Multiple internal() sources were detected, this is not possible;
Error initializing source driver; source='s_all', id='s_all#0'
Error initializing message pipeline;
#!/bin/bash
# node.js using PPA (for statsd)
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs npm
# Install git to get statsd
sudo apt-get install git
[07:30:43] <*status> You quit [Excess Flood]
[07:30:43] <*status> Error from Server [Closing Link: gateway/shell/ircrelay.com/x-dxiutguzdhwuurjz (Excess Flood)]
[07:30:43] <*status> Disconnected from IRC. Reconnecting...
[07:30:43] <*status> Attempting to connect to [irc.freenode.net +6697] ...
[07:30:45] <*status> Connected!
[07:30:52] <*status> You quit [Excess Flood]
[07:30:52] <*status> Error from Server [Closing Link: gateway/shell/ircrelay.com/x-tcnxkzhzhdiwzfjh (Excess Flood)]
[07:30:52] <*status> Disconnected from IRC. Reconnecting...
[07:31:17] <*status> Attempting to connect to [irc.freenode.net +6697] ...
[07:31:18] <*status> Connected!
python:
pkgrepo.managed:
...
pkg.latest:
- pkgs:
..
- requires:
pkgrepo: python