Note: 's/myorg//g' in text below.
$ mkdir ~/workspace && cd workspace
$ git pull [email protected]:myorg/puppet-control.git
$ cd puppet-control
$ git fetch --all && git checkout staging && git pull origin staging
$ git checkout -b redis_modules
$pe_username = '[email protected]' | |
$pe_password = 'puppetlabs' | |
$pe_version_string = '3.7.0' | |
$seteam_env_build = '2.0.5' | |
$aws_public_key = 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxo0CLz8UIFMfhBGunu25HLwHSfkWzUpYUATOMHZOxV053YT6pRS+OLB5wc7M826JzriGQ8S5pweUPEbksN1OdzSfT/YDiw39uGep8Eoj5FoRwGAWv8Maoeif/t24KNHnW+IiI4hTnzPJXAmwoJXIXa2O6ZK323rYYBF/QmfPLcKXPWKKMSjfkskYPFcNIDyZ7Gfzou9UStZ85fTAhQa4KyKJ3v7UPvLVZChXbIoiC2xo0jW5ocKFfRUkktNfU2YvQZFT1/0wMnh2man7LbTlK9Wmh/BVnPO36iQ86PST7tw0ITf2ebHU1g4RTcruTwioyxwiF9Nxfi8LqQbccvHPJ' | |
$aws_region = 'us-west-1' | |
$aws_ami = 'ami-c154b385' | |
$demo = { | |
'department' => 'TSE', | |
'created_by' => "${::id}", |
site::profile::jenkins::master::plugins: | |
buildresult-trigger: | |
version: 0.17 | |
copyartifact: | |
version: 1.32.1 | |
matrix-project: | |
version: 1.4 | |
scm-api: | |
version: 0.2 | |
credentials: |
vagrant-pinterest-puppet-devtest | |
-------------------------------- | |
# Summary | |
This is a self-contained VM-based environment for developing Puppet code at Pinterest. | |
# Requirements | |
You'll need to have downloaded and installed the following: |
--- | |
classes: | |
- site::profile::jenkins::master | |
site::profile::jenkins::master::plugins: | |
git: | |
version: 2.2.7 | |
ansicolor: | |
version: 0.4.0 | |
build-failure-analyzer: |
Note: 's/myorg//g' in text below.
$ mkdir ~/workspace && cd workspace
$ git pull [email protected]:myorg/puppet-control.git
$ cd puppet-control
$ git fetch --all && git checkout staging && git pull origin staging
$ git checkout -b redis_modules
--- | |
force_noop: true | |
classes: | |
- myorg::profile::puppet::agent |
$ git diff --staging #(added but not committed)
$ git diff --cache #(committed but not pushed)
--- | |
classes: | |
- myorg::profile::haproxy_lb | |
parameters: | |
- myorig::profile::haproxy_lb::listen_ports | |
- 80 | |
- 8081 | |
- 443 |
mkdir foo
git init
git checkout -b production
touch README
git add -A
git commit -m 'initial commit'
git branch --delete master
git push --all