[Puppet Users] Re: why do I get ensure changed 'purged' to 'present' on a package when it is already installed

2013-01-18 Thread jcbollinger


On Thursday, January 17, 2013 8:46:25 AM UTC-6, Andrey Kouznetsov wrote:

 I have exactly the same problem on Ubuntu 12.04



Then likely the underlying cause and solution are also the same as the OP 
already posted.


John

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/iZHUmyA0njAJ.
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.



[Puppet Users] Re: why do I get ensure changed 'purged' to 'present' on a package when it is already installed

2013-01-17 Thread Andrey Kouznetsov
I have exactly the same problem on Ubuntu 12.04

On Saturday, February 6, 2010 4:24:58 AM UTC+4, tim_schofield wrote:

 Hi all,

 I have created a squid class that also installs squidGuard.  When I
 run puppetd I always get

 notice: //Node[.xx.xxx]/squid/squid::install/
 Package[squidGuard]/ensure: ensure changed 'purged' to 'present'

 even though the package is already installed - why is this change in
 package status happening as it then triggers my exec resource which is
 only supposed to run the first time when squidguard is installed
 (thereafter it is run as a cron job).  So at the moment it is
 triggered every time puppetd is run

 exec { /usr/local/bin/getblacklist.sh:
 subscribe = Package[squidGuard],
 refreshonly = true
 }


 Regards

 Tim



-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/-CTgFSYbeqYJ.
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.