I made the really minor tweaks required to make RPMs that build on and are compatible with Amazon's RedHat-derived Linux distribution (for EC2). Understandably PL might not have the customer demand for azn-linux builds, but given how little the patches touch, I hope they can get integrated so that building packages is easy for community members at any rate.

To build your own packages, on an EC2 instance*

# install build tools
sudo yum install git rpm-build rubygem-rake
# clone and install facter
git clone https://github.com/jeffb-bt/facter.git; cd facter
git checkout feature/azn-linux-build-2.0.1
rake package:bootstrap
rake package:rpm
sudo yum install pkg/rpm/facter-2.0.1.1-1.amzn1.x86_64.rpm
# clone and install hiera
git clone https://github.com/jeffb-bt/hiera.git; cd hiera
git checkout feature/azn-linux-build-1.3.2
rake package:bootstrap
rake package:rpm
sudo yum install pkg/rpm/hiera-1.3.2.1-1.amzn1.noarch.rpm

# install puppet preq
sudo yum install http://yum.puppetlabs.com/el/6/dependencies/x86_64/ruby-rgen-0.6.5-2.el6.noarch.rpm

# clone and install puppet
git clone https://github.com/jeffb-bt/puppet.git; cd puppet
git checkout feature/azn-linux-build-3.5.1
rake package:bootstrap
rake package:rpm
sudo yum install pkg/rpm/{puppet,puppet-server}-3.5.1.1-1.amzn1.noarch.rpm

Pull requests are up at

https://github.com/puppetlabs/facter/pull/674
https://github.com/puppetlabs/puppet/pull/2618
https://github.com/puppetlabs/hiera/pull/189

I hope that's useful for some others,
Jeff

* - yum install commands included to illustrate where the target rpms end up

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/53685411.4060609%40bericotechnologies.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to