Hi all,
I'm not sure about the best way to tackle this - perhaps someone can help :)
I've got some manifests that set up a server to be a build server, to
compile sources and create RPM packages. There is a couple of things
that I can't see how to do:
1. Each user needs an ~/.rpmmacros file in their home dir, and the file
needs to be different for each person. The content should be like this:
%_topdir %(echo $HOME)/rpmbuild
%_smp_mflags -j3
%__arch_install_post /usr/lib/rpm/check-rpaths
/usr/lib/rpm/check-buildroot
%_signature gpg
%_gpg_name ResNet
%packager Jonathan Gazeley <jonathan.gaze...@bristol.ac.uk>
Is there a neat way of deploying a templated .rpmmacros file to all
users on the build box?
2. Each user needs to import the secret signing key into their keychain.
This is done by running "gpg --import secret.key" as each user on the
build box. How can puppet do this?
Many thanks,
Jonathan
--
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.