This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'xmlrpc/client' | |
require 'yaml' | |
require 'termios' | |
require 'pp' | |
module Jira | |
end |
This file contains hidden or 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 | |
# | |
# This script is an adaptation from http://www.sqlite.org/cvstrac/wiki?p=ConverterTools | |
# It expects stdin input from mysqldump with the following params: | |
# mysqldump --skip-extended-insert --add-drop-table --compatible=ansi --skip-add-locks --skip-comments --skip-disable-keys --skip-set-charset | |
# Note: Don't use --skip-quote-names as this script expects quoted names | |
# | |
# Note: This script imports boolean values as they are stored in Mysql, e.g., as the integers 0 and 1. | |
# As a result, boolean fields need to be further normalized after this transform step | |
# such that false field values are 'f' and true field values are 't', which is |
This file contains hidden or 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
# File: roles/common.rb | |
name "common" | |
description "Applied to all servers" | |
recipes "users" | |
default_attributes( | |
:groups => { | |
:admins => {:gid => 900}, | |
}, | |
:users => { | |
:kevn => { :password => "*", :comment => "Kevin", :uid => 1001, :group => :admins }, |
NewerOlder