[EMAIL PROTECTED] (Loobster) writes: > I was thinking of creating a little script (ar-8.1.3-1.install.sh) to > do that and also figure out which version of reader is installed. > > -bash-3.00$ /opt/Adobe/Reader8/bin/acroread -v > 8.1.2 > > So far, this is what I came up with on the puppet side of things: > > # Omited class and case statements. > > # create staging directory > file { "/sysprov/apps/adobe": > owner => puppet, > group => puppet, > ensure => directory > } > > # copy files the staging area > file { "/sysprov/apps/adobe/AdobeReader_enu-8.1.3-1.sparc.tar.gz": > owner => puppet, > group => puppet, > source => "puppet://puppet/apps/adobe/ > AdobeReader_enu-8.1.3-1.sparc.tar.gz", > } > > file { "/sysprov/apps/adobe/bar-ar-8.1.3-1.install.sh": > owner => puppet, > group => puppet, > source => "puppet://puppet/apps/adobe/adobe/ar-8.1.3-1.install.sh", > } > > # Run the installer > exec { "ar-8.1.3-1.install.sh": > command => "/sysprov/apps/adobe/ar-8.1.3-1.install.sh", > require => File[ "/sysprov/apps/adobe/ > AdobeReader_enu-8.1.3-1.sparc.tar.gz" ] > require => File[ "/sysprov/apps/adobe/ar-8.1.3-1.install.sh" ] > refreshonly => true, > } > > I get the feeling that I don't have to create ar-8.1.3-1.install.sh > script and that the whole thing can be done in puppet or facteur.
We've started doing this with another non-rpm package on Linux. however I was startled to see at least on our setup that it took several minutes to copy the directory including the binary and install script over. Total space about 40MB. Very slow. Is this the expected speed? Our network is 100Mb and puppet is (custom built): # rpm -q puppet puppet-0.24.6-1ce4.1 running x86_64 CentOS 4. Simon --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---