You can actually install in a custom directory and build a package from that pretty easily. Look at directory provider from https://github.com/jordansissel/fpm on how to do that. Of course you will then want to tweak specific configuration options like IP address through puppet.
Hope that helps :) Best, Nikola On Tue, Nov 20, 2012 at 01:44:01AM -0800, Laurence Cope wrote: > Thanks Ilya, I will give this a try. > > BUT if I remember correctly, the install process will ask input during the > install, to set some options... can Puppet handle entering options during > installations? > > Thanks > > On Monday, November 19, 2012 10:15:57 PM UTC, Ilya Dmitrichenko wrote: > > > > Hi, > > > > Yes, you probably want to do something like this: > > > > class virtualmin::install { > > > > $version = '1.2.3-foo' > > > > exec { 'get installer script': > > command => 'wget http://software.virtualmin.com/gpl/scripts/install.sh > > ', > > cwd => '/tmp', > > creates => '/tmp/install.sh', > > } > > file { '/tmp/install.sh': > > mode => 0755, > > # checksum => 'the_checksum_of_that_script_if_you_feed_paranoid' > > } > > exec { 'install it now': > > command => '/tmp/install.sh', > > unless => 'test -x /usr/local/virtualmin/bin/foo && > > /usr/local/virtualmin/bin/foo --version | grep $version', > > require => File['/tmp/install.sh'], > > } > > } > > > > hope this kind of makes sense and please excuse any errors this pseudocode > > might give you :) > > > > Cheers, > > -- > > Ilya > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/AxVrJPPnfDgJ. > 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. > -- 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.