[Puppet Users] aptitude provider ignores some bad package names

2011-08-26 Thread Andreas Kuntzagk
upgraded. Need to get 0B of archives. After unpacking 0B will be used. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done If I use "foobar" as package name it complains about non

Re: [Puppet Users] duplicated ssh host keys

2011-08-08 Thread Andreas Kuntzagk
Thanks, that fixed this. Stefan Schulte wrote: On Fri, Aug 05, 2011 at 03:51:36PM +0200, Andreas Kuntzagk wrote: Hi, I'm managing hosts ssh keys by using exported resources. I do this with this little config I found in the interWeb: ... @@sshkey { "$hostname,$ipaddress,$ho

[Puppet Users] duplicated ssh host keys

2011-08-05 Thread Andreas Kuntzagk
he keys are duplicated every time puppet runs. Is this a bug in puppet or is that config bad? regards, Andreas -- Andreas Kuntzagk SystemAdministrator MDC Berlin / BIMSB Tel.: +49 30 9406 2997 -- You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] using memorysize fact in manifests

2011-06-30 Thread Andreas Kuntzagk
regards, Andreas -- Andreas Kuntzagk SystemAdministrator MDC Berlin / BIMSB Tel.: +49 30 9406 2997 -- 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

Re: [Puppet Users] Re: howto trigger action on another client

2011-06-28 Thread Andreas Kuntzagk
Hi On Jun 27, 9:37 am, Andreas Kuntzagk wrote: Thanks for these infos. I think I got at least a vague idea how this works and can already use it for some simple cases. One more question: If I define checks for the "exported exec" (like "creates" or "onlyif" w

Re: [Puppet Users] Re: howto trigger action on another client

2011-06-27 Thread Andreas Kuntzagk
cuting agent? (my guess is the second but want to make sure) If this is the case is there a way to run the "exec" depending on some checks on the exporting agent? regards, Andreas jcbollinger wrote: On Jun 24, 9:18 am, Andreas Kuntzagk wrote: Daniel Maher wrote: On 06/24/2011 03:

Re: [Puppet Users] Puppet 2.6.9 & 2.7.1 packages for Solaris

2011-06-27 Thread Andreas Kuntzagk
rrectly. It's your choice I'm afraid Andreas - give it a go? I will stall this for now since my prio 1 is setting up puppet on our linux boxes. If later I'm able to config the solaris boxes as well that would be the icing on the cake. regards, Andreas Regards, --Mark On

Re: [Puppet Users] ssh_authorized_key and NIS user

2011-06-24 Thread Andreas Kuntzagk
apability to look up accounts via NIS. It's been a long time since I've used NIS, however, so I don't know if this is the problem for sure. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 24, 2011 at 6:41 AM, Andreas Kuntz

Re: [Puppet Users] Re: howto trigger action on another client

2011-06-24 Thread Andreas Kuntzagk
Daniel Maher wrote: On 06/24/2011 03:39 PM, Andreas Kuntzagk wrote: Exported resources are the Puppet means for one node to provide resources for another. In this case, the execution host could export an Exec resource for the master to collect and apply. Hmm, in the (very short) time I&#x

Re: [Puppet Users] ssh_authorized_key and NIS user

2011-06-24 Thread Andreas Kuntzagk
I'm wondering if my description was not clear enough or nobody knows an answer to this. Did I stumble across a bug here and should open a ticket? regards, Andreas Andreas Kuntzagk wrote: Hi, I have this resource definition: ssh_authorized_key { "nagios@login2": key

Re: [Puppet Users] Re: howto trigger action on another client

2011-06-24 Thread Andreas Kuntzagk
jcbollinger wrote: On Jun 24, 3:14 am, Andreas Kuntzagk wrote: Hi, I want to automate installation of GridEngine with puppet. GE comes with some prepared script for automatic installation. Unfortunately this is to be run on the GE master to install the executions host (=clients). (This then

[Puppet Users] howto trigger action on another client

2011-06-24 Thread Andreas Kuntzagk
Hi, I want to automate installation of GridEngine with puppet. GE comes with some prepared script for automatic installation. Unfortunately this is to be run on the GE master to install the executions host (=clients). (This then will run some commands on the exec host via ssh) So from puppet's

Re: [Puppet Users] Puppet 2.6.9 & 2.7.1 packages for Solaris

2011-06-24 Thread Andreas Kuntzagk
For whatever reason I'm using the opensource packages from blastwave. AFAIU these are not to be mixed with opencsw. So I can't use your packages? regards, Andreas Mark Phillips wrote: CSW packages in experimental - http://buildfarm.opencsw.org/experimental.html#markp Both contain Dom Cleal's

Re: [Puppet Users] installing puppet client

2011-06-21 Thread Andreas Kuntzagk
CHEBRIAN wrote: Hi, how to install puppet client thru puppet master . My requirement is to install puppet client nearly 400 client servers. its difficult to install puppet client in all the servers by apt- get . share u r suggestions . Regards chebrian We only (will) have about 100 clie

[Puppet Users] ssh_authorized_key and NIS user

2011-06-17 Thread Andreas Kuntzagk
Hi, I have this resource definition: ssh_authorized_key { "nagios@login2": key => [REDACTED] user=> "nagios", type=> "ssh-dss", require => Service['nis'], } This nagios user comes from NIS, yp.conf and nsswitch.conf are handled by puppet and configured before the key. I

Re: [Puppet Users] puppet resource for group

2011-06-17 Thread Andreas Kuntzagk
Nigel Kersten wrote: On Fri, May 13, 2011 at 11:41 PM, Nan Liu wrote: On Fri, May 13, 2011 at 4:20 PM, Corey Osman wrote: Hi, Why doesn't puppet resource group tell me who belongs to the group? Given the group such as: mg_team:x:501:smruph, cosman, msmith, mhankey With the command: puppet res

Re: [Puppet Users] puppet not working after switch to passenger - permissions issue?

2011-05-05 Thread Andreas Kuntzagk
te_keys/node002.pem As far as I can tell these files match. regards, Andreas Andreas Kuntzagk wrote: Hi, Nan Liu wrote: On Wed, May 4, 2011 at 8:26 AM, Andreas Kuntzagk wrote: Hi, as suggested on the list I switched from the standalone puppetmaster to Passenger. I have passenger installed now

Re: [Puppet Users] puppet not working after switch to passenger - permissions issue?

2011-05-05 Thread Andreas Kuntzagk
Hi, Nan Liu wrote: On Wed, May 4, 2011 at 8:26 AM, Andreas Kuntzagk wrote: Hi, as suggested on the list I switched from the standalone puppetmaster to Passenger. I have passenger installed now and edited the apache config as far as I understood. I restarted apache. Now when I run an agent I

[Puppet Users] puppet not working after switch to passenger - permissions issue?

2011-05-04 Thread Andreas Kuntzagk
Hi, as suggested on the list I switched from the standalone puppetmaster to Passenger. I have passenger installed now and edited the apache config as far as I understood. I restarted apache. Now when I run an agent I get: /var/lib/gems/1.8/bin/puppet agent --server node002 --test err: Could n

[Puppet Users] at which size to use a "real" webserver

2011-05-03 Thread Andreas Kuntzagk
Hi, I'm currently using puppet with the buildin server for testing on a few nodes (~5). But in the future my installation will be bigger. It will have about 110 nodes of our compute cluster and maybe some additional servers (~20). Currently I don't use very complicated manifests and want to man

[Puppet Users] facter command does not show some facts

2011-05-03 Thread Andreas Kuntzagk
Hi, When I run root@node002:/opt/sge# /var/lib/gems/1.8/bin/facter productname it comes back empty. But: root@node002:/opt/sge# /var/lib/gems/1.8/bin/facter |grep productname productname => Sun Fire X2200 M2 facter is version 1.5.7 regards, Andreas -- You received this message because you a

Re: [Puppet Users] exec resource: negate onlyif condition

2011-05-02 Thread Andreas Kuntzagk
Stupid me! Did not see this. Thanks. Felix Frank wrote: On 05/02/2011 03:37 PM, Andreas Kuntzagk wrote: Hi, today I'm stupid. How can I negate the test for execs onlyif? I want to run the exec onlyif command returns 1. regards, Andreas Hi, use "unless" instead of &q

[Puppet Users] exec resource: negate onlyif condition

2011-05-02 Thread Andreas Kuntzagk
Hi, today I'm stupid. How can I negate the test for execs onlyif? I want to run the exec onlyif command returns 1. regards, Andreas -- 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

Re: [Puppet Users] scope of default values

2011-05-02 Thread Andreas Kuntzagk
Hi, Since I also have many nfsmounts and want to make sure that the mountpoint exist, I'd like to use require. Is there a way I can reference the name of the mountpoint in the require? Like so. mount {"test2": device => "server1:/test2", require => File[$name] } If you have

[Puppet Users] scope of default values

2011-04-29 Thread Andreas Kuntzagk
Hi, I'm still quite new to puppet so forgive me if I ask stupid questions or use wrong terminology. I have default values for mount defined inside a class. Are these defaults only valid for mounts of this class or for all? class test { Mount { fstype => "nfs4", } mount{