Hi, I'm trying to write a class to install MS Office on Mac (I know, why? 'cus I have to). I'm missing something simple, I'm sure. here's the class:
class install_ms_office { # unfortunately there are a number of updates as well as the base install case $operatingsystem { Darwin: { pkgdmg_install { "Office_2008.dmg": alias => ms_office_base, dirpath => "iasw/msoffice/", before => Pkgdmg_install["Office2008-1210UpdateEN.dmg"] } pkgdmg_install { "Office2008-1210UpdateEN.dmg": alias => ms_office_sp1, dirpath => "iasw/msoffice/", before => Pkgdmg_install["Office2008-1220UpdateEN.dmg"] } pkgdmg_install { "Office2008-1220UpdateEN.dmg": alias => ms_office_sp2, dirpath => "iasw/msoffice/", before => Pkgdmg_install["Office2008-1211UpdateEN.dmg"] } pkgdmg_install { "Office2008-1221UpdateEN.dmg": alias => ms_office_update_1221, dirpath => "iasw/msoffice/", before => Pkgdmg_install["EWS-1300- EN.dmg"] } pkgdmg_install { "EWS-1300-EN.dmg": alias => ms_office_EWS, dirpath => "iasw/msoffice/", } } } } when I run this I get: warning: Configuration could not be instantiated: Could not find dependent Pkgdmg_install[Office2008-1211UpdateEN.dmg] for Package[Office2008-1220UpdateEN.dmg] at /var/puppet/environments/ development/modules/lanl-baseline/manifests/definitions/pkg_install.pp: 31; using cached catalog pkgdmg_install is a definition that looks like this: { $sourcedir_real = $sourcedir ? { false => "http://puppet.lanl.gov", default => $sourcedir } $dirpath_real = $dirpath ? { false => "", default => $dirpath } package { $name: ensure => installed, provider => pkgdmg, source => "$sourcedir_real/${dirpath_real}${name}" } } what simple little stupid thing am I missing? --- Thanks, Allan Marcus 505-667-5666 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---