おれおれおれだよ!
おれが
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use DBI; | |
use DBI::Const::GetInfoType; | |
use Config::Pit; | |
::main(); | |
exit; |
package Net::Amazon::EC2::PaperboyAttributes; | |
use strict; | |
use warnings; | |
use Net::Amazon::EC2 0.18; | |
use JSON qw/decode_json/; | |
Net::Amazon::EC2::RunningInstances->meta->make_mutable(); | |
Net::Amazon::EC2->meta->make_mutable(); |
sub _build_volume_name { | |
my $self = shift; | |
my $name_tag = $self->ec2->describe_tags( | |
"Filter.Name" => [ "resource-id", "key" ], | |
"Filter.Value" => [ $self->ebs->volume_id, "Name" ] | |
) or croak "Target EBS requires 'Name' tag: ". $self->ebs->volume_id; | |
return $name_tag->[0]->value; | |
} |
[program:growthforecast] | |
command = plenv exec growthforecast.pl --data-dir /home/growthforecast/data | |
user = growthforecast | |
environment = HOME=/home/growthforecast | |
directory = /home/growthforecast | |
process_name = %(program_name)s | |
redirect_stderr = false |
my $ec2 = Net::Amazon::EC2->new( | |
AWSAccessKeyId => $config->{AWSAccessKeyId}, | |
SecretAccessKey => $config->{SecretAccessKey}, | |
region => $config->{region}, | |
) or die; | |
my ($instance) = | |
grep { | |
grep { $_->value eq $name } | |
grep { $_->key eq 'Name' } |
CLOUDFRONT() CLOUDFRONT() | |
NAME | |
cloudfront - | |
DESCRIPTION | |
AVAILABLE COMMANDS | |
o create-cloud-front-origin-access-identity |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# refs: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "CentOS6.4-x86-64" | |
config.vm.box_url = "http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130427.box" |
:black_large_square: :bomb: :black_large_square: | |
:bomb: :runner: :bomb: | |
:black_large_square: :bomb: :black_large_square: |