Nigel, thanks for the quick response. Avoiding the 'define': I am not seeing a marker file being installed in /var/db. I have tried to install the package with the standard package install using puppet... no go. I get errors regarding the package path: ...Execution of '/usr/sbin/installer -pkg http://server/packages/firefox.3.0.6-1.dmg -target /' returned 1: installer: Error the package path specified was invalid: <path>'.
The file is there and the path is correct. Using the 'define': I have actually made a little progress on this one. I am now getting an hdutil error about no mountable filesystems in /tmp or /tmp/ Firefox3.0.6-1.dmg. I am seeing the puppet client doing a 'GET' from the the web server but I am not seeing the file anywhere on the client system. Could this be a permissions issue on the client? Also, in all my errors, I get: 'err: //Node[default]/mac-firefox/ Pkg_deploy[Firefox3.0.6-1.dmg]/Package[Firefox3.0.6-1.dmg]/ensure: change from absent to present failed: Thanks again for your help. -kurt On Mar 3, 3:51 pm, Nigel Kersten <nig...@google.com> wrote: > engle, does it work when you avoid the define and just do a standard > package install? > > Note that the pkgdmg provider relies upon marker files for packages in > /var/db/.puppet_installed_* so if that marker already exists, it won't > reinstall it. (There's no necessary link between the dmg name and the > packages that are contained within it) > > That may be your problem. > > > > On Tue, Mar 3, 2009 at 3:29 PM, engle <kurt.en...@gmail.com> wrote: > > > I am trying to setup a simple puppet config to pull a .dmg file off an > > http server and install that package on to a mac laptop. I seem to > > have the configuration working somewhat, but the package does not get > > installed on the laptop. > > > I am trying to do a simple install of Firefox and have obtained the > > latest .dmg file from the Firefox website. I am then placing the file > > on a local web server. > > > Here is my init.pp file : > > > define pkg_deploy($sourcedir = false) { > > $sourcedir_real = $sourcedir ? { > > false => "http://webserver.foo/packages", > > default => $sourcedir > > } > > package { $name: > > ensure => installed, > > provider => pkgdmg, > > source => "$sourcedir_real/$name" > > } > > } > > > class mac-firefox { > > pkg_deploy { "Firefox3.0.6.dmg": } > > } > > > I can see the laptop put out a "GET" for the file and it seems that > > the file is being transfered to the mac. However, that is as far as I > > can trace. I do not see the dmg get 'mounted' on the laptop nor does > > the package get installed. > > > Any help would be appreciated. More information gladly provided if > > needed. > > > Thanks, > > -kurt > > -- > Nigel Kersten > Systems Administrator > Tech Lead - MacOps --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---