On Thu, Jul 23, 2009 at 5:03 PM, Scott Smith<sc...@ohlol.net> wrote: > > Am fairly certain --test implies --dry-run and won't actually enact > any changes.
Nope. --test is basically shorthand for: --verbose --ignorecache --no-usecacheonfailure --no-splay --show_diff --no-daemonize IIRC. > > 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. >> >> >> > > > > > -- Nigel Kersten 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 -~----------~----~----~----~------~----~------~--~---