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
48 | |
- https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/software-site-to-site-vpn-1.html | |
- https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/appendix-a-high-level-ha-architecture-for-software-vpn-instances.html | |
- https://aws.amazon.com/blogs/networking-and-content-delivery/introducing-aws-client-vpn-to-securely-access-aws-and-on-premises-resources/ | |
- https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html | |
49 | |
- https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html | |
- https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs-records-examples.html | |
- https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html |
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
AWSTemplateFormatVersion: 2010-09-09 | |
Description: > | |
complete example of artifacts being shared between AWS CodeBuild projects | |
and AWS CodePipeline stages. | |
Resources: | |
CodePipelineRole: | |
Type: AWS::IAM::Role | |
Properties: | |
AssumeRolePolicyDocument: |
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
### | |
### create_key.pp, create ssh key(s). | |
### | |
class sshkey::create_key { | |
$directory_path = '/etc/puppetlabs/puppetserver/ssh' | |
$ssh_keys = $::sshkey::params::ssh_keys | |
$ssh_keys.each |Integer $index, String $value| { | |
$ssh_key = basename($value, '.git') | |
$certs = [ | |
"${directory_path}/${ssh_key}", |
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 : | |
## | |
## variables | |
## | |
## Note: multiple vagrant plugins follow the following syntax: | |
## | |
## required_plugins = %w(plugin1 plugin2 plugin3) | |
## |
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 | |
## | |
## variables | |
## | |
## @HOST_FQDN, this needs match the result of running the 'hostnamectl' command | |
## from the environment running the puppetserver / puppetmaster. | |
## | |
## @HOST_IP, address that corresponds to the puppetserver. | |
## |
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
## login | |
docker login | |
## update base | |
docker build -f dockerfile/base.dockerfile -t jeff1evesque/ml-base:0.8 . | |
docker push jeff1evesque/ml-base:0.8 | |
## update mongodb | |
docker build -f dockerfile/mongodb.dockerfile -t jeff1evesque/ml-mongodb:0.8 . | |
docker push jeff1evesque/ml-mongodb:0.8 |
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
## immediate changes | |
chcon -Rv --type=httpd_sys_content_t file-name | |
## persistent changes | |
semanage fcontext -a -t httpd_sys_script_exec_t 'docroot(/.*)?' | |
restorecon -RFv docroot/ |
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
git config core.commentChar ';' |
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
{ | |
"name": "jeff1evesque/trusty64", | |
"description": "Ubuntu 14.04 LTS 64Bit", | |
"versions": [ | |
{ | |
"version": "1.0.0", | |
"providers": [ | |
{ | |
"name": "virtualbox", | |
"url": "https://atlas.hashicorp.com/jeff1evesque/boxes/trusty64/versions/1.0.0/providers/virtualbox.box", |
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
vagrant@vagrant-ubuntu-trusty-64:~$ puppet apply -e 'notify { "something@%/ok.*": }' | |
Notice: Compiled catalog for vagrant-ubuntu-trusty-64.home in environment produc | |
tion in 0.03 seconds | |
Notice: something@%/ok.* | |
Notice: /Stage[main]/Main/Notify[something@%/ok.*]/message: defined 'message' as | |
'something@%/ok.*' | |
Notice: Applied catalog in 0.01 seconds |
NewerOlder