On Thu, Dec 18, 2008 at 07:44:46PM -0600, Ben Beuchler wrote:
[...]
> 
> > package { "vim-purge":
> >  name => "vim",
> >  ensure => absent
> > }
> > package { "vim":
> >  name => "vim-nox",
> >  ensure => installed,
> >  require => Package["vim-purge"]
> > }
> 
> Excellent suggestion.  That, of course, fixed the problem.

That is not ideal, though, as it leaves you with a window of not having
any vim installed. It would be better if puppet just decided to install
vim-nox, at which point aptitude would remove vim if needed, before
configuring vim-nox.

-- 
Marcin Owsiany <[email protected]>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown

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

Reply via email to