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 | |
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password | |
# Forked from the original to do the opposite: Switch ssh repo urls to https | |
# Original here: https://gist.github.com/m14t/3056747 | |
# Thanks to @m14t | |
#origin or upstream | |
REMOTE=${1-origin} | |
REPO_URL=`git remote -v | grep -m1 "^$REMOTE" | sed -Ene's#.*(git@github.com:[^[:space:]]*).*#\1#p'` |
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
import grails.util.Environment | |
class BootStrap { | |
def app2AppMonitorService | |
def configServiceMonitorService | |
def mongoConnectionMonitorService | |
def oracleConnectionMonitorService | |
def rabbitConnectionMonitorService | |
Timer t |
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
--- | |
myrabbitmq::rabbitmq_user_permissions: | |
admin@/: | |
configure_permission: .* | |
read_permission: .* | |
write_permission: .* | |
admin@psmq: | |
configure_permission: .* | |
read_permission: .* | |
write_permission: .* |
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
class myrabbitmq ( | |
$wipe_db_on_cookie_change = $::myrabbitmq::params::wipe_db_on_cookie_change, | |
$version = $::myrabbitmq::params::version, | |
$delete_guest_user = $::myrabbitmq::params::delete_guest_user, | |
$erlang_cookie = $::myrabbitmq::params::erlang_cookie, | |
$config_cluster = $::myrabbitmq::params::config_cluster, | |
$cluster_nodes = $::myrabbitmq::params::cluster_nodes, | |
$rabbitmq_vhost = {}, | |
$rabbitmq_user = {}, | |
$rabbitmq_user_permissions = {}, |
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
# This file is sourced by all *interactive* bash shells on startup, | |
# including some apparently interactive shells such as scp and rcp | |
# that can't tolerate any output. So make sure this doesn't display | |
# anything or bad things will happen ! | |
# Test for an interactive shell. There is no need to set anything | |
# past this point for scp and rcp, and it's important to refrain from | |
# outputting anything in those cases. | |
if [[ $- != *i* ]] ; then |
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
ok -- so I follow, and think I the fix is to put your hieradata into a different hierarchy. The short answer, I believe, is to add calling_class/%{calling_class} to your hierarchy: | |
VGT puppetmaster ~ # cat /etc/hiera.yaml | |
# managed by puppet | |
--- | |
:backends: | |
- yaml | |
:hierarchy: | |
- node/%{fqdn} |