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
# Maintainer: Chris Fordham <chris@xhost.com.au> | |
pkgname=rightscale | |
pkgver=5.8.8 | |
pkgrel=1 | |
epoch= | |
pkgdesc="" | |
arch=('x86_64') | |
url="http://rightscale.com/" | |
license=('RightScale') | |
groups=() |
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_package "fog" | |
script "test_fog" do | |
interpreter "/usr/bin/ruby" | |
code <<-EOH | |
require 'fog' | |
EOH | |
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
#!/opt/rightscale/sandbox/bin/ruby | |
puts '= postgresql-tune =' | |
system 'psql --version' | |
PGDATA = `echo -n /etc/postgresql/*/main` | |
require 'rubygems' | |
require 'ohai' | |
require "ftools" |
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
# Cookbook Name:: rs_utils | |
# Recipe:: setup_timezone | |
# | |
# Copyright (c) 2011 RightScale Inc | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, | |
# distribute, sublicense, and/or sell copies of the Software, and to |
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/bash -e | |
# RightScript: Install & configure Jenkins CI Server | |
# this script uses process management techniques to detach parent processes that have childs that don't detach as well as effectively delay events due to the backgrounding | |
# for verification on the instance, use: | |
# tail -f /var/log/messages /var/log/jenkins-install.log | |
log_file="/var/log/jenkins-install.log" |
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
# Cookbook Name:: mongodb | |
# Recipe:: relocate_dbpath | |
# | |
# Copyright 2010, RightScale Inc. | |
# | |
# Author: Chris Fordham <chris.fordham@rightscale.com> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |
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
******************************************************************************** | |
*RS> Configuring software repositories **** | |
*RS> Using the following software repositories: | |
*RS> - Yum::CentOS::Extras ["http://ec2-eu-west-mirror.rightscale.com/centos", | |
*RS> "http://ec2-eu-west-mirror1.rightscale.com/centos", | |
*RS> "http://ec2-us-east-mirror.rightscale.com/centos", | |
*RS> "http://ec2-us-east-mirror1.rightscale.com/centos", | |
*RS> "http://ec2-us-east-mirror2.rightscale.com/centos"] @ 2010-10-19 | |
*RS> - Apt::Ubuntu::Jaunty | |
*RS> ["http://ec2-eu-west-mirror.rightscale.com/ubuntu_daily", |
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
#!/usr/bin/ruby | |
# rs-update-server-array | |
require 'rubygems' | |
require 'getoptlong' | |
require 'json' | |
require 'rest_connection' | |
def usage |
NewerOlder