Thanks Nigel,

-Roy

Nigel Kersten wrote:
> 
> 
> On Thu, Sep 10, 2009 at 7:30 AM, Roy Nielsen <r...@lanl.gov 
> <mailto:r...@lanl.gov>> wrote:
> 
> 
>     Hello,
> 
>     I'm working on an upgrade manifest (for the Mac) and need to test it -
>     however it partially worked once, and now it skips the Package part, I'm
>     guessing because it figures the package has already been installed...
> 
>     Is there a receipt or something I can delete so it doesn't think the
>     package is installed?
> 
> 
> I just posted this to the list the other day.
> 
> You should treat Mac packages like you do other platforms. You don't 
> reinstall the same version, you install a newer version.
> 
> We follow this model:
> 
> $foo_pkg = "foo-2009010101.dmg"
> 
> package { "$foo_pkg":
>   ensure => installed,
>   source => "$pkg_base/foo/$foo_pkg",
> }
> 
> Then all you do is bump the version number when you want to upgrade to a 
> newer version, like:
> 
> 
> $foo_pkg = "foo-2009091001.dmg"
> 
> package { "$foo_pkg":
>   ensure => installed,
>   source => "$pkg_base/foo/$foo_pkg",
> }
> 
> 
> 
>  
> 
> 
>     Thanks,
>     -Roy
> 
> 
> 
> 
> 
> -- 
> Nigel Kersten
> nig...@google.com <mailto:nig...@google.com>
> System Administrator
> Google Inc.
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to