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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Get-Access-from-UACT-VPCE-only", | |
"Effect": "Allow", | |
"Principal": "*", | |
"Action": [ | |
"s3:GetObject", | |
"s3:GetBucketLocation" |
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
[Unit] | |
Description=Runs cloud-init URLs in leui of support in oem-cloudinit | |
After=oem-cloudinit.service | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/usr/bin/bash -c '/usr/bin/coreos-cloudinit -from-url "https://example-cloudinit-includes.s3.amazonaws.com/coreos/common/my-ca-cert.yaml"' |
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": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
"Mappings" : { | |
"RegionMap" : { | |
"ap-northeast-1" : { | |
"AMI" : "ami-19fba518" | |
}, |
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
Nov 11 17:00:56 ip-10-35-165-195 yum[1007]: Installed: 1:facter-2.3.0-1.el6.x86_64 | |
Nov 11 17:01:00 ip-10-35-165-195 yum[1007]: Installed: puppet-3.6.2-1.el6.noarch | |
Nov 11 17:02:26 ip-10-35-165-195 puppet-agent[1069]: Error connecting to mgmt-pupt-prod-002.eu-west-1.aws.compute.telnic.net:8140: Connection timed out - connect(2) | |
Nov 11 17:02:26 ip-10-35-165-195 puppet-agent[1069]: Could not request certificate: getaddrinfo: Name or service not known |
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
Rake spec: | |
$ rake spec | |
function_name | |
example at ./spec/functions/function_name_spec.rb:40 (FAILED - 1) | |
Failures: |
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
# What I get | |
<configuration> | |
<foo> | |
<nodes> | |
<node> | |
<domainname>puppet-foobar.vm:7310</domainname> | |
</node> | |
<node> | |
<domainname>d1.mynode.example.com</domainname> | |
</node> |
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
# | |
# delete_child_subkey.rb | |
# | |
# === Author | |
# | |
# Richard Clark <[email protected]> | |
# | |
module Puppet::Parser::Functions | |
newfunction(:delete_child_subkey, :type => :rvalue, :doc => <<-EOS | |
Given a hash containing nested hashes, a single or array of regular |
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
pakrat::ldap_exclude_hosts: "%{hiera('trusted_hosts')}" | |
trusted_hosts: | |
- '127.0.0.1/8' | |
- '192.168.1.1/32' | |
Error: "127.0.0.1/8192.168.1.1/32" is not an Array. It looks to be a String at /tmp/vagrant-puppet-1/modules-0/pakrat/manifests/init.pp:109 on node puppet.vm | |
Error: "127.0.0.1/8192.168.1.1/32" is not an Array. It looks to be a String at /tmp/vagrant-puppet-1/modules-0/pakrat/manifests/init.pp:109 on node puppet.vm |
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
Configuration: | |
Libraries: | |
intel mic . . . . . . no (MicAccessApi not found) | |
libaquaero5 . . . . . no (libaquaero5.h not found) | |
libcurl . . . . . . . yes | |
libdbi . . . . . . . yes | |
libcredis . . . . . . no | |
libesmtp . . . . . . yes | |
libganglia . . . . . yes | |
libgcrypt . . . . . . yes |
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
%global __requires_exclude %{?__requires_exclude}|perl\\(VMS::Filespec\\) | |
Error: Package: perl516-perl-DynaLoader-Functions-0.002-5.el6.noarch (external-rhscl-perl516) | |
Requires: perl516-perl(VMS::Filespec) |