Am fairly certain --test implies --dry-run and won't actually enact  
any changes.

You have other issues w/your config, though.

-scott



On Jul 23, 2009, at 9:50, awreneau <awren...@gmail.com> wrote:

>
> Found a recipe that indicates the following will uninstall (equiv of
> apt-get remove vlc) the vlc package.
>
> # /etc/puppet/manifests/classes/packages.pp
>
> class packages {
>    $packages = ["vlc"]
>    package{ $packages:
>        ensure => absent
>    }
> }
>
>
> When I run sudo puppetd --test I see the following
>
>
> sudo puppetd --test
> info: Retrieving plugins
> err: /File[/var/lib/puppet/lib]: Failed to generate additional
> resources during transaction: Cannot access mount[plugins]
> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
> resource: Cannot access mount[plugins] Could not describe /plugins:
> Cannot access mount[plugins]
> info: Caching catalog at /var/lib/puppet/state/localconfig.yaml
> notice: Starting catalog run
> notice: Finished catalog run in 0.55 seconds
> t...@ubuntu:~$ which vlc
> /usr/bin/vlc
>
>
> As you can see the last two lines of the paragraph indicate VLC is
> still installed.  Googling has only produced the option of changing
> absent to purged, this returns the same results.
>
>
> I was able to successfully install vlc w/ the same recipe by changing
> absent to installed.
>
> Would really appreciate help on this.
>
>
> >

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