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
[gitlab] Forcing shutdown of VM... | |
[gitlab] Destroying VM and associated drives... | |
[gitlab] Box ubuntu1204-amd64 was not found. Fetching box from specified URL... | |
[vagrant] Downloading with Vagrant::Downloaders::HTTP... | |
[vagrant] Downloading box: http://sebian.yasaw.net/pub/debian-wheezy-x64.box | |
[vagrant] Extracting box... | |
[vagrant] Verifying box... | |
[vagrant] Cleaning up downloaded box... | |
[gitlab] Importing base box 'ubuntu1204-amd64'... | |
[gitlab] The guest additions on this VM do not match the install version of |
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
>>> ./modules/example/spec/classes/example_spec.rb | |
describe "example" do | |
let(:hiera_data) { { :foo_message => "bar" } } | |
it { should contain_notify("foo").with_message("bar") } | |
end | |
>>> ./modules/example/spec/manifests/site.pp #this just exists because rspec-puppet appears to insist on it?) |
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
/srv/salt/top.sls | |
base: | |
'*': | |
- mongodb | |
/srv/salt/mongodb/init.sls |
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
myprovider: | |
provider: ec2 | |
ssh_interface: private_ips | |
id: JHHJHUHLLJLKKLK>NKLL | |
key: 'lnjfelvehvho4of24fn2nf02[fn3ov3sfk' | |
private_key: /etc/salt/automation.pem | |
keyname: automation | |
securitygroupid: | |
- sg-abcdef12 | |
- sg-abcdef13 |
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
install-my-stuff: | |
pkg.installed: | |
- names: | |
- nginx | |
- vim-enhanced |
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
{%- set lst = ['servera', 'serverb', 'serverc'] %} | |
{%- set s = 'ldap://' + ',ldap://'.join(lst) %} | |
/tmp/gaga: | |
file.managed: | |
- contents: {{ s }} | |
# produces ldap://servera,ldap://serverb,ldap://serverc |
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 | |
tag=docker.io/sroegner/accumulo | |
container_name=accumulo-cluster | |
accumulo_net=accumulo-docker-local | |
if [ "$1" = "-clean" -o "$1" = "-shutdown" ] | |
then | |
echo "Shutting down all Accumulo containers ($1)" | |
for c in namenode zookeeper tserver0 tserver1 tserver2 master proxy |