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
# remove after PE 2016.4 or later is deployed | |
if $pe_build == '2016.2.1' { | |
file_line { 'Allow PE 2016.2.1 Debian pe_repos to ignore old GPG key': | |
ensure => 'present', | |
path => '/opt/puppetlabs/puppet/modules/pe_repo/templates/deb.bash.erb', | |
replace => true, | |
match => " DEBIAN_FRONTEND=noninteractive apt-get install -y -o Apt::Get::Purge=false -o Dpkg::Options::='--force-confold' -o Dpkg::Options::='--force-confdef' --no-install-recommends puppet-agent", | |
line => " DEBIAN_FRONTEND=noninteractive apt-get install -y -o Apt::Get::Purge=false -o Dpkg::Options::='--force-confold' -o Dpkg::Options::='--force-confdef' --no-install-recommends --allow-unauthenticated puppet-agent", | |
} | |
} |
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
# Manage a peering connection between VPCs in separate AWS accounts. | |
# Configuration must be run with an IAM role or credentials that can assume an administrative role in the accepting VPC's account. | |
# Inspired by: https://www.terraform.io/docs/providers/aws/r/vpc_peering_accepter.html | |
provider "aws" { | |
region = "us-east-1" | |
allowed_account_ids = ["123456789012"] | |
# Requester's credentials. | |
} |
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 : | |
# | |
# Reference: https://gist.githubusercontent.com/glenfant/7772f48aa17eb4e09d4a62390825eade/raw/b7284e30c3ba3a6ba9e03bb37abb65eb193842f7/Vagrantfile | |
# Docker playground for MacOS and Windows | |
# ======================================= | |
# | |
# - Installs the latest Docker + Docker-compose | |
# - Uses faster NFS files sync on Mac OS | |
# - Uses faster SMB files share on Windows |