Puppet uses facts to get basic information about a server on which it runs. When you need ip address of the machine you just add $ipaddress to template or anywhere else you want to use. Unfortunately when this facter variable will be used on Amazon ec2 instance the ip will be the local ip and not the public ip. As I’m quite new to Puppet I read the documentation and write a custom fact for this.
Read more »
Tag Archives: ec2
Writing custom facts for puppet
Installing Riak on ec2
Riak is something like memcached, a data store, key value db. I’m not a programmer so don’t realy know the differance between these two and never used it for anything but I was asked to installl it on ec2 and as getting it running on local interface was simple the public interface caused some troubles. And this time google didn’t help. Read more »
Auto association of ec2 elastic IPs on instance launch
What a pain is to have to associate elastic IPs when launching Amazon AWS ec2 instances. Think about 15-20 machines which need static (elastic) ip. I solved this problem with a bit of Perl code: Read more »
ec2 + EBS (freezing the machine)
I had some problems with ec2 and EBS recently when mounting EBS drive with XFS on it. Basically the machine was frozen and only way to get it back was request to detach EBS drive and reboot the ec2 machine, I found a fix here. Read more »
How to fix Java on Debian Lenny
This post was previously about getting Amazon ec2 API tools working on Debian Lenny when seeing something like this:
Unexpected error:
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)
After number of comments it looked as a generic solution to java related problems so I’ve change the title.
Here is how to fix it Java on Lenny: Read more »






Recent Comments