Thanks for the replies. I did start off down the route of distributing binaries but was having problems getting them to run on the different architectures involved and ended up with multiple packages - and every time I needed to tweak the build config I was having to rebuild multiple times. It was so much easier to build on each machine... I perceived the issue of removing gcc & make afterwards as being an easier problem to solve. I thought there may be a way to do it without having to drop down to scripting - but then again - the whole configure/make process is just a set of scripts so no difference I guess.
Thanks again for the replies. On Aug 1, 7:09 pm, Daniel Pittman <dan...@puppetlabs.com> wrote: > Yup. This is totally the right way to do that. > > If you don't want to, I would suggest that you compile once, tar up > the content, and just untar it on the machine. > > If you really, really want to go through installing the compiler, > building, then removing it, you can: write your script to use apt to > install the packages, build, and then uninstall again. Maybe specify > 'package { "gcc": ensure => absent }' so that puppet enforces. > > ...but, um, this really doesn't add that much security to your system. > Sending a binary, or a portable language tool, is not that hard for > an attacker. > > daniel > > > > > > > > > > On Mon, Aug 1, 2011 at 09:17, vagn scott <vagnsc...@gmail.com> wrote: > > On 08/01/2011 06:40 AM, David wrote: > > >> The scenario is, every server in our estate of Debian machines > >> requires some monitoring software which is not provided as a Debian > >> package. > > > You should make your own debian package(s) for the monitoring software > > instead of installing from source on every machine. > > > -- > > 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. > > -- > ⎋ Puppet Labs Developer –http://puppetlabs.com > ♲ Made with 100 percent post-consumer electrons -- 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.