I've begun using the spec file provided in the puppet and facter
sources to build my own RPMs.  So far to make the provided work with
2.7.1, I've made these changes...

The addition of ruby-shadow requirement and the namespace-auth.conf
are not necessary.  I added ruby-shadow to force it always installed
and the namespace-auth.conf may no longer be necessary with 2.7.1, but
was for as far up as 2.6.8.

$ diff -u puppet.spec.orig
puppet.spec
--- puppet.spec.orig    2011-07-16 12:51:01.000000000 -0500
+++ puppet.spec 2011-07-11 17:19:20.000000000 -0500
@@ -5,8 +5,8 @@
 %global confdir conf/redhat

 Name:           puppet
-Version:        2.6.0
+Version:        2.7.1
 Release:        1%{?dist}
 Summary:        A network tool for managing many disparate systems
 License:        Apache 2.0
 URL:            http://puppetlabs.com
@@ -25,6 +25,8 @@
 Requires:       ruby(abi) = 1.8
 Requires:       ruby-shadow
 %endif
+Requires:       ruby-shadow

 # Pull in ruby selinux bindings where available
 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
@@ -105,6 +107,9 @@
 install -Dp -m0644 conf/auth.conf %{buildroot}%{_sysconfdir}/puppet/
auth.conf
 install -Dp -m0644 %{confdir}/logrotate %{buildroot}%{_sysconfdir}/
logrotate.d/puppet

+# Create empty namespaceauth.conf file
+touch %{buildroot}%{_sysconfdir}/puppet/namespaceauth.conf
+
 # We need something for these ghosted files, otherwise rpmbuild
 # will complain loudly. They won't be included in the binary packages
 touch %{buildroot}%{_sysconfdir}/puppet/puppetmasterd.conf
@@ -130,7 +135,7 @@

 %files
 %defattr(-, root, root, 0755)
-%doc CHANGELOG COPYING LICENSE README README.queueing examples
+%doc CHANGELOG README.md
 %{_bindir}/pi
 %{_bindir}/puppet
 %{_bindir}/ralsh
@@ -144,6 +149,7 @@
 %config(noreplace) %{_sysconfdir}/sysconfig/puppet
 %config(noreplace) %{_sysconfdir}/puppet/puppet.conf
 %config(noreplace) %{_sysconfdir}/puppet/auth.conf
+%config(noreplace) %{_sysconfdir}/puppet/namespaceauth.conf
 %ghost %config(noreplace,missingok) %{_sysconfdir}/puppet/
puppetca.conf
 %ghost %config(noreplace,missingok) %{_sysconfdir}/puppet/
puppetd.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/puppet
@@ -163,6 +169,7 @@
 %{_mandir}/man8/puppetd.8.gz
 %{_mandir}/man8/ralsh.8.gz
 %{_mandir}/man8/puppetdoc.8.gz
+%{_mandir}/man8/puppet-*

 %files server
 %defattr(-, root, root, 0755)

Michael would you be the person to contact about assisting with
maintaining the puppet RPMs for puppet?  I could also probably
contribute a few other packages

 - Trey

On Jul 14, 7:25 pm, Michael Stahnke <stah...@puppetlabs.com> wrote:
> I have builds of facter 1.6 and puppet 2.7.2 for EL 5 and 6  available
>
> http://stahnma.fedorapeople.org/puppetlabs/
>
> I'm working on Fedora 14/15 builds currently also.
>
> These also are not currently signed, and there is no stahnma-repo rpm
> or anything like that.  I'm basically just trying scratch an itch a
> few people have.
>
> This won't be a permanent location.  We are working on updating and
> official puppet labs repository as well.
>
> Mike

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to