[Puppet Users] Re: changing "name" of resource without changing the title

2008-12-19 Thread Marcin Owsiany
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 c

[Puppet Users] Re: changing "name" of resource without changing the title

2008-12-18 Thread Ben Beuchler
> My first thought would be that your vim package is set up to advertise itself > as providing an acceptable substitute for the vim-nox package. Thus, when > puppet asks your package manager "do you have the vim-nox package installed?" > it says "sure!" It doesn't look like it. Perusing the cod

[Puppet Users] Re: changing "name" of resource without changing the title

2008-12-18 Thread Frank Sweetser
Ben Beuchler wrote: > My initial base config contained a "vim" package. After installing a > few servers I realized what I really wanted was a "vim-nox" package. > > Feeling clever, I changed this: > > package {"vim": > ensure => installed, > } > > To this: > > package {"vim": > na