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
keeth:fun keith$ grape -V resolve org.ratpack-framework ratpack-groovy 0.9.0-SNAPSHOT | |
:: loading settings :: url = jar:file:/usr/local/Cellar/groovy/2.1.5/libexec/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml | |
no default ivy user dir defined: set to /Users/keith/.ivy2 | |
including url: jar:file:/usr/local/Cellar/groovy/2.1.5/libexec/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings-public.xml | |
no default cache defined: set to /Users/keith/.ivy2/cache | |
including url: jar:file:/usr/local/Cellar/groovy/2.1.5/libexec/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings-shared.xml | |
including url: jar:file:/usr/local/Cellar/groovy/2.1.5/libexec/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings-local.xml | |
including url: jar:file:/usr/local/Cellar/groovy/2.1.5/libexec/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings-main-chain.xml | |
including url: jar:file:/usr/local/Cellar/groovy/2.1.5/libexec/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings-default-chain.xml |
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
apt-get install -y pkg-config python-pip git libssl-dev zlib1g-dev cmake python-dev libffi-dev libssh2-1-dev | |
git clone https://github.com/libgit2/libgit2 \ | |
&& cd libgit2 \ | |
&& git checkout tags/v0.22.0 \ | |
&& mkdir build \ | |
&& cd build \ | |
&& cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ | |
&& cmake --build . --target install \ | |
&& cd ../.. |
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
base: | |
'*': | |
- ssh | |
- salt | |
'G@roles:cms': | |
- match: compound | |
- cms | |
'G@roles:cms and not G@env:prod': | |
- match: compound | |
- cms_creds |
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
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.hostname = "salt" | |
config.vm.synced_folder "./salt", "/srv/salt", id: "vagrant-root" | |
config.vm.synced_folder "./pillar", "/srv/pillar/base" | |
config.vm.synced_folder "../secrets/pillar", "/srv/pillar/secrets" | |
config.vm.synced_folder "../formulas", "/srv/formulas" |
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
file_client: local | |
file_roots: | |
base: | |
- /srv/salt | |
- /srv/formulas/salt-formula | |
pillar_roots: | |
base: | |
- /srv/pillar/base |
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
salt: | |
master: | |
fileserver_backend: | |
- git | |
gitfs_provider: gitpython | |
gitfs_remotes: | |
- git@github-salt:sprightco/salt.git: | |
- root: salt | |
- git@github-cms:sprightco/cms.git: | |
- root: etc/salt |
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
{{ pillar['git_deploy_keys'][repo][type] }} |
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
from fabric.api import * | |
import time | |
def bootstrap_salt_master(): | |
sudo('add-apt-repository ppa:saltstack/salt -y') | |
sudo('apt-get update -y') | |
sudo('apt-get install salt-minion -y') | |
sudo('apt-get install salt-master -y') | |
sudo('apt-get upgrade -y') |
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
base: | |
'*': | |
- ssh | |
- salt | |
- java | |
'G@roles:cms': | |
- match: compound | |
- cms | |
# START salt-master bootstrap items |
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
var gulp = require('gulp'); | |
var browserify = require('browserify'); | |
var del = require('del'); | |
var reactify = require('reactify'); | |
var source = require('vinyl-source-stream'); | |
var webserver = require('gulp-webserver'); | |
var less = require('gulp-less'); | |
var path = require('path'); | |
var rename = require('gulp-rename'); | |
var inject = require('gulp-inject'); |
OlderNewer