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/env bash | |
# RackN Copyright 2019 | |
# Install Contexts | |
drpcli contexts create '{ | |
"Name": "runner", | |
"Description": "drpcli-runner", | |
"Documentation": "Very minimal container to run the DRPCLI as a starting or idle point for Machines. This provides a very low overhead system to start or complete workflows so that tasks can continue to execute even if the target machine is not available (or never exists).", | |
"Engine": "docker-context", | |
"Image": "digitalrebar-context-runner", |
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
cat /var/log/rabbitmq/startup_log | |
{net_kernel,init,['Argument__1']} | |
<0.47.0> | |
[] | |
{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,344}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]} | |
[net_sup,kernel_sup,<0.34.0>] | |
[] | |
[<0.44.0>] | |
[{longnames,true}] | |
true |
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
{ | |
"barclamp": { | |
"name": "ahold", | |
"display": "Ansible Holder", | |
"license": "APLv2", | |
"copyright": "RackN, 2016", | |
"source_path": "API_uploaded" | |
}, | |
"wizard": null, | |
"roles": [ |
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 | |
# Copyright RackN 2016 | |
# Apache 2 License | |
ipa="$(ip a | grep eth0 | grep -oe 'inet .* brd' | cut -d ' ' -f2)" | |
sudo apt-get update | |
sudo apt-get install git python python-pymongo python-pycurl -y | |
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
{ "barclamp": { | |
"name": "datadog", | |
"display": "Datadog Agent", | |
"license": "rackn limited use", | |
"copyright": "RackN, Inc 2016", | |
"os_support": [ | |
"centos-7.1.1503" | |
], | |
"source_path": "" | |
}, |
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/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
# config.vm.box = "parallels/ubuntu-14.04 " | |
# Create a private network, which allows host-only access to the machine | |
# using a specific IP. | |
config.vm.network "private_network", ip: "192.168.124.10", auto_config: true |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.define "slave", primary: true do |slave| | |
slave.vm.box = "chef/centos-7.1" | |
# Create a private network, which allows host-only access to the machine | |
# using a specific IP. |
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
# WELCOME TO SQUID 3.3.8 | |
# ---------------------------- | |
# | |
# This is the documentation for the Squid configuration file. | |
# This documentation can also be found online at: | |
# http://www.squid-cache.org/Doc/config/ | |
# | |
# You may wish to look at the Squid home page and wiki for the | |
# FAQ and other documentation: | |
# http://www.squid-cache.org/ |
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
{ | |
"ansible_ssh_user":"root", | |
"ansible_ssh_port":22, | |
"system":{ | |
"hosts":[ | |
"node7.cr0wbar.com", | |
"node6.cr0wbar.com", | |
"node5.cr0wbar.com", | |
"node4.cr0wbar.com", | |
"node3.cr0wbar.com", |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.define "admin", primary: true do |admin| | |
admin.vm.box = "chef/centos-6.6" | |
# Create a forwarded port mapping which allows access to a specific port | |
admin.vm.network "forwarded_port", guest: 3000, host: 3030 |
NewerOlder