On Mon, Mar 26, 2012 at 8:46 AM, Antidot SAS <antidot...@gmail.com> wrote: > Hi everybody, > > > I have the following output for a redhat 5 server with puppet 2.7.9: > > [root@XXXX]:/var/log # puppet apply -e 'package { locate: > (continue) ensure => purged, > (continue) } > (continue) ' > notice: /Stage[main]//Package[locate]/ensure: created > notice: Finished catalog run in 4.71 seconds > [root@XXXX]:/var/log # puppet apply -e 'package { locate: > ensure => purged, > } > ' > notice: /Stage[main]//Package[locate]/ensure: created > notice: Finished catalog run in 4.74 seconds > [root@XXXX]:/var/log # puppet apply -e 'package { locate: > ensure => absent, > } > ' > notice: Finished catalog run in 0.37 seconds > [root@XXX]:/var/log # > > > > Is this normal that purged action runs everytime on redhat?Is that because > the package does not exist on redhat? > > # yum search locate > Loaded plugins: rhnplugin, security > ============================================================================================= > Matched: locate > ============================================================================================= > findutils.x86_64 : The GNU versions of find utilities (find and xargs). > xinetd.x86_64 : A secure replacement for inetd. > classpathx-jaf.x86_64 : GNU JavaBeans(tm) Activation Framework > ctags.x86_64 : A C programming language indexing and/or cross-reference > tool. > dnsmasq.x86_64 : A lightweight DHCP/caching DNS server > doodle.x86_64 : Searches your hard drive for files using pattern matching on > meta-data > e2undel.x86_64 : Tool for recovering deleted files on an ext2 or ext3 > filesystem > fontconfig.i386 : Font configuration and customization library > fontconfig.x86_64 : Font configuration and customization library > mlocate.x86_64 : An utility for finding files by name > nagios.x86_64 : Open Source host, service and network monitoring program > perl-Class-BlackHole.noarch : Base class to treat unhandled method calls as > no-ops > perl-Crypt-OpenSSL-DSA.x86_64 : DSA encryption > perl-Email-Address.noarch : RFC 2822 Address Parsing and Creation > perl-File-ShareDir.noarch : Locate per-dist and per-module shared files > perl-Module-Extract.noarch : Base class for creating modules > perl-Module-Locate.noarch : Perl module to locate modules in the same > fashion as require and use > perl-SVN-Push.noarch : Push Repository to Remote Subversion Repository > perl-WebService-Uptrack.noarch : access KSplice Uptrack web API > planner.x86_64 : A graphical project management tool. > postgresql.x86_64 : PostgreSQL client programs and libraries. > postgresql84.x86_64 : PostgreSQL client programs > scanmem.x86_64 : Simple interactive debugging utility > ssss.x86_64 : Shamir's Secret Sharing Scheme > strobe.x86_64 : Super optimized TCP port surveyor > which.x86_64 : Displays where a particular program in your path is located. > wvdial.x86_64 : A heuristic autodialer for PPP connections. > > This is basically a known issue. We have a GSOC project idea to fixup many oddities with yum, so hopefully that will take off.
http://projects.puppetlabs.com/issues/11450 Mike > > Regards, > JM > > -- > 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. -- 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.