[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.



Re: [Puppet Users] JBOSS installation and Configuration through puppet

2013-01-10 Thread Andrey Kouznetsov
I have the same error.
I am using puppet-jboss module from example42 and trying to install it on 
clean ubuntu 12.04 server.
User jboss does not exists before (so and after) I run puppet agent.
Here is part of output:

Debug: Executing '/usr/sbin/groupadd jboss'
Notice: /Stage[main]/Jboss::User/Group[jboss]/ensure: created
Debug: /Stage[main]/Jboss::User/Group[jboss]: The container Class[Jboss::User] 
will propagate my refresh event
Debug: Executing '/usr/sbin/useradd -p ! -c jboss user -d /opt/jboss -s 
/bin/bash jboss'
Error: Could not create user jboss: Execution of '/usr/sbin/useradd -p ! -c 
jboss user -d /opt/jboss -s /bin/bash jboss' returned 9: useradd: group jboss 
exists - if you want to add this user to that group, use -g.

Error: /Stage[main]/Jboss::User/User[jboss]/ensure: change from absent to 
present failed: Could not create user jboss: Execution of '/usr/sbin/useradd -p 
! -c jboss user -d /opt/jboss -s /bin/bash jboss' returned 9: useradd: group 
jboss exists - if you want to add this user to that group, use -g.

Debug: Class[Jboss::User]: The container Stage[main] will propagate my refresh 
event


On Monday, August 27, 2012 4:58:40 AM UTC+4, skylove wrote:
>
>
> the user jobss is exists in you system! 
>
> 2012/8/25 Ajeet Raina >
>
>> Hi All,
>>
>> I have puppet server and client ready. I found JBOSS module and manifests 
>> under 
>> https://github.com/example42/puppet-jboss/
>>  and 
>> imported it through git.
>> I am encountering these isse while  I run :
>>
>> http://pastebin.com/S67JqmSK 
>>  
>> -- 
>> 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/-/iaYlyzVcuLUJ.
>> To post to this group, send email to puppet...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> puppet-users...@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 view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/n6KiYY427rUJ.
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.