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
Remember that in addition to the prior instructions, when writing queries and code examples, please adhere to the following guidelines: | |
General: | |
- Database access is done using Ash 3.0/AshPostgres resources | |
- Don't use Ash resources for in memory data structures unless specified | |
- Only implement coding standards for new/modified code unless explicitly specified | |
- Minimal comments (only notable/counter-intuitive), no module level or function level docs | |
- Always Remove any unused aliases |
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
# Based on ubuntu version from http://www.agileweboperations.com/chef-rvm-ruby-enterprise-edition-as-default-ruby | |
# Tested on Centos 5.6 | |
bash -c ' | |
if [ ! -f /usr/local/bin/chef-client ]; then | |
# yum install -y git curl gcc gcc-c++ zlib-devel openssl-devel readline-devel flex bison libxml2-devel libxslt-devel zlib-devel | |
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel git | |
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) | |
( | |
cat <<'EOP' |