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.rpm
Move the puppet-2.6.7.tar.gz
file to /usr/src/packages/SOURCES
Edit the puppet.spec
file located in /usr/src/package/SPECS
, change the lines Version and Release so that the read:
Version: 2.6.7
Release: 1.2
rebuild the puppet package with the following command:
rpmbuild -ba puppet.spec
Install the puppet.arch.rpm found in /usr/src/packages/RPMS/<arch>/