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
profile::postgresql_databases::databases: | |
jira: | |
user: "atlassian" | |
password: "foo" | |
encoding: "UNICODE" | |
locale: "C" | |
grant: "ALL" | |
$databases.each |$database, $database_details| { | |
postgresql::server::db { $database: |
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
## Path: Network/LDAP | |
## Description: Basic Configuration of the OpenLDAP Directory Server | |
## Type: yesno | |
## Default: yes | |
## ServiceRestart: ldap | |
# | |
# If set to "no" the LDAP server will not accept any "normal" LDAP connections | |
# but just connections over "ldaps" or "ldapi". Setting this to "no" does only | |
# make sense when either OPENLDAP_START_LDAPS or OPENLDAP_START_LDAPI is set |
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
hiera: | |
site_module::hit::telegraf::inputs: | |
'influxdb-dc': | |
plugin_type: 'influxdb' | |
input_options: | |
- 'urls': | |
- 'http://remote-dc:8086' | |
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
https://twin.github.io/httprb-is-great/ |
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/perl | |
#=============================================================================== | |
# | |
# FILE: checklogin.pl | |
# | |
# USAGE: | |
# | |
# DESCRIPTION: | |
# |
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 | |
PEM_FILE=$1 | |
PASSWORD=$2 | |
KEYSTORE=$3 | |
# number of certs in the PEM file | |
CERTS=$(grep 'END CERTIFICATE' $PEM_FILE| wc -l) | |
# For every cert in the PEM file, extract it and import into the JKS keystore | |
# awk command: step 1, if line is in the desired cert, print the line | |
# step 2, increment counter when last line of cert is found |
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
--- | |
docker::run_instance::instance: | |
gitlab-redis: | |
image: redis | |
volumes: | |
- '/data/services/gitlab/redis/data:/data' | |
gitlab: | |
image: sameersbn/gitlab:8.10.1 | |
volumes: | |
- '/data/services/gitlab/data:/home/git/data' |
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
# hiera | |
uptream: | |
'abc_core': | |
'ips': | |
- '1.2.3.4' | |
- '1.2.3.5' | |
'port': 8080 | |
'abc_cp_core': | |
'ips': | |
- '1.2.3.4' |
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
nginx::vhost::vhosts: | |
'foo.example.com': | |
ensure: 'present' | |
'example.net': | |
ensure: 'present' | |
$vhosts = hiera('nginx::vhost::vhosts') | |
$vhosts_list = keys($vhosts) |
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
EDITOR=vim | |
if [ -d /opt/puppetlabs/bin ]; then | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/puppetlabs/bin | |
fi | |
alias ll='ls -lah --color=auto' | |
alias grep='grep --color=auto' | |
alias rm='rm -r' | |
if [ -d /etc/bash_completion ]; then | |
. /etc/bash_completion | |
fi |
NewerOlder