➜ puppet puppet apply -v --modulepath /Users/jeff/src/manifests/modules{,/paramstest/tests/site.pp} info: Applying configuration version '1308091819' notice: param=[I'm defined in paramstest::params] mandatory=[site.pp] notice: /Stage[main]/Paramstest/Notify[TEST]/message: defined 'message' as ' param=[I'm defined in paramstest::params] mandatory=[site.pp]' ➜ puppet git describe 2.6.3
This file contains hidden or 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
# The configuration file for apply. Note that this file | |
# is likely to have unused configuration parameters in it; any parameter that's | |
# valid anywhere in Puppet can be in any config file, even if it's not used. | |
# | |
# Every section can specify three special parameters: owner, group, and mode. | |
# These parameters affect the required permissions of any files specified after | |
# their specification. Puppet will sometimes use these parameters to check its | |
# own configured state, so they can be used to make Puppet a bit more self-managing. | |
# | |
# Generated on Wed May 25 13:17:34 -0700 2011. |
This file contains hidden or 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
defutf8 on | |
defflow off | |
vbell off | |
autodetach on | |
startup_message off | |
defscrollback 30000 | |
# The hard status is updated by the zsh prompt commands. | |
# %t is populated by the shell sending 'print -nR $'\033k'$1$'\033'\\' | |
# %h is populated by the shell sending 'print -nR $'\033]0;'$2$'\a'' |
This file contains hidden or 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'm doing to convert # | |
diff --git a/lib/fog/vsphere/requests/compute/find_template_by_instance_uuid.rb b/lib/fog/vsphere/requests/compute/find_template_by_instance_uuid.rb | |
index 3a1776b..21c289a 100644 | |
--- a/lib/fog/vsphere/requests/compute/find_template_by_instance_uuid.rb | |
+++ b/lib/fog/vsphere/requests/compute/find_template_by_instance_uuid.rb | |
@@ -1,27 +1,35 @@ | |
module Fog | |
module Compute |
This file contains hidden or 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
[jeff@light] 1.8.7@ckcp ~ 1 ↵ | |
% puppet node_aws create --image ami-2342a94a --keyname jeffdne --type t1.micro | |
err: Unrecognized key name: jeffdne (Suggestion: use the puppet node_aws list_keynames action to find a list of valid key names for your account.) | |
err: Try 'puppet help node_aws create' for usage | |
[jeff@light] 1.8.7@ckcp ~ 1 ↵ | |
% puppet node_aws list_keynames | |
asdf | |
awsCFtest | |
cody | |
jeff |
This file contains hidden or 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
:default: | |
:vsphere_server: vc01.puppetlabs.lan | |
:vsphere_username: jeffapi | |
:vsphere_password: abc123 | |
:vsphere_expected_pubkey_hash: 431dd5d0412aab11b14178290d9fcc5acb041d37f90f36f888de0cebfffff0a8 | |
:aws_access_key_id: AKIAIISJV5TZ3FPWU3TA | |
:aws_secret_access_key: XXXXXXXXXXXXXXXXXXXXXXXX |
This file contains hidden or 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
[jeff@maynard] 1.8.7 ~ | |
% rvm gemset use puppet | |
[jeff@maynard] 1.8.7@puppet ~ | |
% gem list | |
albino (1.3.3) | |
blockenspiel (0.4.2) | |
builder (3.0.0) | |
CFPropertyList (2.0.17) | |
columnize (0.3.2) | |
configuration (1.2.0) |
This file contains hidden or 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 | |
# | |
# This script repairs Mac OS X site_ruby and ruby symbolic links if they are broken. | |
# For more information on this problem please see: http://openradar.appspot.com/9202152 | |
# | |
set -e | |
set -u | |
timestamp=$(date +%s) |