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
<?xml version="1.0" encoding="UTF-8"?> | |
<statsfeeder> | |
<numberOfThreads>10</numberOfThreads> | |
<frequency unit="second">600</frequency> | |
<feeder>true</feeder> | |
<csvOutput>true</csvOutput> | |
<receivers> | |
<receiver> | |
<name>csvOutput</name> | |
<class>com.vmware.ee.statsfeeder.CSVFileStatsReceiver</class> |
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
input { | |
s3 { | |
bucket => 'example-cloudtrail' | |
codec => cloudtrail {} | |
credentials => "/opt/aws_creds" | |
region_endpoint => "us-west-2" | |
type => "cloudtrail" | |
} | |
} |
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
$dns_hosts = [{ | |
'title' => 'test-1a-record.testme.puppetlabs.net', | |
'parameters' => { | |
"domain"=>"testme.puppetlabs.net", | |
"ddns_key"=>"/etc/bind/keys.d/dhcp_updater", | |
"customername"=>"puppetlabs", | |
"ttl"=>"4800", "provider"=>"bind", | |
"username"=>"puppetlabs", | |
"content"=>"172.16.100.150", | |
"type"=>"A", |
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
[root@megacon1 yum.repos.d]# openstack help project list | |
usage: openstack project list [-h] [-f {csv,table}] [-c COLUMN] | |
[--max-width <integer>] | |
[--quote {all,minimal,none,nonnumeric}] [--long] | |
List projects | |
optional arguments: | |
-h, --help show this help message and exit | |
--long List additional fields in output |
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
## | |
# | |
class openstacklib::params { | |
$servicedefault = '<SERVICE DEFAULT>' | |
} | |
## | |
# | |
class nova::params inherits ::openstacklib::params { |
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
class params { | |
$foo = 'bar' | |
} | |
define blort() { | |
include params | |
notify{ $name: message => $params::foo } | |
} | |
blort { 'works?': } |
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
ody@orihime:[stomp-irb]% ruby stomp-irb -s localhost --port 61613 -u guest -P guest | |
Interactive Ruby shell for STOMP | |
Type 'help' for usage instructions | |
ruby-1.8.7-p334 :001 > subscribe :topic, 'foo' | |
Current Subscriptions: | |
/topic/foo | |
=> nil |
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
ruby-1.8.7-p334 :003 > topic 'foo', 'hello' | |
Sent hello to /topic/foo | |
=> nil | |
ruby-1.8.7-p334 :004 > topic 'foo', 'hello' | |
<<stomp>> hello | |
Sent hello to /topic/foo | |
=> nil | |
ruby-1.8.7-p334 :005 > topic 'foo', 'hello' | |
<<stomp>> hello | |
Sent hello to /topic/foo |
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
snippet mca | |
module MCollective | |
module Agent | |
class ${1:Agentname}<RPC::Agent | |
metadata | |
:name => "${2:agentname}", | |
:description => "Performs $2 actions", | |
:author => "${3:myname}", | |
:license => "${4:BSD}", | |
:version => "${5:0.0.1}", |
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
HEAD is now at fc0add1... Updated CHANGELOG for 2.7.0rc3 | |
ody@orihime:[puppet]% rvm use 1.9.2 | |
Using /Users/ody/.rvm/gems/ruby-1.9.2-p180 | |
ody@orihime:[puppet]% envpuppet puppet cert --list | |
Could not parse options: wrong number of arguments (1 for 0) |
OlderNewer