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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---