Adding java to an debian based distrubition using puppet

During some experiments I wanted to check if it is possible to install java, using puppet. This turned out to be quite simple. All that was needed where 2 simple scripts. The first shell script simply installs the puppet and a depended puppet module. #!/bin/sh sudo apt-get install puppet sudo puppet module install puppetlabs/apt sudo puppet apply java.puppet The second file (called java.puppet) should be placed in the same directory and will update apt, accept the java license and install java7, and make it the default java version....

<span title='2014-01-21 21:55:00 +0000 UTC'>January 21, 2014</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;152 words&nbsp;·&nbsp;wouter

Using uniquely defined key-value on a central server in puppet

In the previous post I wrote about an application capable of storing key-value pairs in an hierarchical way. As this application has an rest interface to request the elements I also wrote an puppet hiera backend. This backend does allow one to use the key-value pairs defined in the application to be used in puppet manifests. This plugin can be found on github https://github.com/woutervb/hiera-central_property. The installation is quite simple, using the following steps:...

<span title='2012-06-29 13:24:00 +0000 UTC'>June 29, 2012</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;102 words&nbsp;·&nbsp;wouter

Puppet & ubuntu & svn - part 2

This is the second article of a trilogy. The first article can be found here In the first article the installation of puppet on ubuntu was discussed. In this article we talk about making a trust between a puppet client and a puppet server. This is the crucial step that is needed in order te let an client obtain the puppet recipes for processing. The first step is installing the puppet client on a (new) server....

<span title='2011-08-11 14:59:00 +0000 UTC'>August 11, 2011</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;242 words&nbsp;·&nbsp;wouter

Puppet & ubuntu & svn - part 1

This blog entry is meant as a quick lookup on how to setup an initial puppet environment on linux. The goal is to have puppet installed in a client master relationship, in which the master configuration files are stored in svn. The client is, except for the initial certificate trust, completely automated. In this part the focus is on the central server setup. As a base os for the central master ubuntu (11....

<span title='2011-05-04 13:29:00 +0000 UTC'>May 4, 2011</span>&nbsp;·&nbsp;3 min&nbsp;·&nbsp;479 words&nbsp;·&nbsp;wouter

Building puppet for SLES 10 (SP4)

It turns out to be surprisingly easy to create a basic puppet client package. The steps involved are: download ruby from the opensuse (ruby-1.8.6.p36-4.1.i586.rpm, ruby-1.8.6.p36-4.1.src.rpm, ruby-1.8.6.p36-4.1.x86_64.rpm) download facter from opensuse (facter-1.5.7-1.1.i586.rpm, facter-1.5.7-1.1.src.rpm, facter-1.5.7-1.1.x86_64.rpm) download the puppet src.rpm from opensuse (puppet-0.25.5-1.1.src.rpm) download the puppet tar from puppetlabs (2.6.7 is the current one, http://puppetlabs.com/downloads/puppet/puppet-2.6.7.tar.gz) Install the ruby & facter package for the desired architecture (i586 = 32bit, x86_64 = 64bit). Install the puppet src....

<span title='2011-04-19 12:58:00 +0000 UTC'>April 19, 2011</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;116 words&nbsp;·&nbsp;wouter