[Puppet Users] Re: Announce: Facter 1.6.12-rc2 Available

2012-08-31 Thread Eric Sorenson
A special note for users affected by Puppet agent hanging with '--listen' -- please give this RC a try and let us know how it works for you. (#10819, #10418, etc) Jo Rhett, Chip Schweiss, Drew Gibson, we would love to hear from you on this. Thanks -=Eric On Aug 31, 2012, at 5:32 PM, Matthaus

[Puppet Users] Announce: Facter 1.6.12-rc2 Available

2012-08-31 Thread Matthaus Owens
Facter 1.6.12-rc2 is a maintenance release candidate in the 1.6.x branch with bug fixes. Downloads are available at: * Source: https://downloads.puppetlabs.com/facter/facter-1.6.12-rc2.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.org

Re: [Puppet Users] Multiple package install.

2012-08-31 Thread J.W. Boerma
Vmware has their own repositories: packages.vmware.com greetz JW Op 31 aug. 2012 21:49 schreef "Jakov Sosic" het volgende: > On 08/31/2012 09:07 PM, Darin Perusich wrote: > >> OBS has them. >> >> https://build.opensuse.org/**package/show?package=open-vm-** >> tools&project=Virtualization%**3AVMw

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-31 Thread David Schmitt
On 2012-08-31 15:38, Sandra Schlichting wrote: Err, no. In a well-maintained environment, it should never be necessary to manually approve a host key. I would prefer that too. Usually you should always distribute all host keys to all clients with one of the common @@ssh_key Exp

[Puppet Users] Re: Literal @ character in erb template

2012-08-31 Thread Krzysztof Wilczynski
Hi, Works fine for me: matti@acrux ~ $ cat > test.erb *.notice;news.none;cron.none @loghost:514 <% if @hostname == "foo" %> # Provides UDP syslog reception $ModLoad imudp.so $UDPServerRun 514 <% end %> matti@acrux ~ $ sed -i 's/foo/acrux/' test.erb matti@acrux ~ $ cat | puppet apply file {

Re: [Puppet Users] Multiple package install.

2012-08-31 Thread Jakov Sosic
On 08/31/2012 09:07 PM, Darin Perusich wrote: OBS has them. https://build.opensuse.org/package/show?package=open-vm-tools&project=Virtualization%3AVMware Yeah but those are not ESX tools... -- Jakov Sosic www.srce.unizg.hr -- You received this message because you are subscribed to the Googl

Re: [Puppet Users] Multiple package install.

2012-08-31 Thread Darin Perusich
OBS has them. https://build.opensuse.org/package/show?package=open-vm-tools&project=Virtualization%3AVMware -- Later, Darin On Fri, Aug 31, 2012 at 2:54 PM, Jakov Sosic wrote: > Can you maybe provide SPEC files for those packages? I'm interested in > maintaining ESX tools packages in my compan

Re: [Puppet Users] Multiple package install.

2012-08-31 Thread Jakov Sosic
On 08/31/2012 09:46 AM, ollies...@googlemail.com wrote: Hello, For the life of me I cannot get this to work. It's seemingly doable with a single class but outside params.pp: class vmware::params { case $::lsbmajdistrelease { '4': { $packagelist = "[ 'vmware-tools-esx-kmods-smp'

Re: [Puppet Users] Puppet file copy

2012-08-31 Thread Josh Cooper
On Fri, Aug 31, 2012 at 10:03 AM, Ramin K wrote: > On 8/31/2012 7:18 AM, Bai Shen wrote: >> class solr { >> file { '/opt/apache-tomcat/conf/Catalina/localhost': >> source => 'puppet://modules/solr/solr.xml', That should be puppet:///modules/solr/solr.xml The way to thi

[Puppet Users] Re: Literal @ character in erb template

2012-08-31 Thread banjer
Thanks for the reply KW, but thats not quite what I was asking. Heres the relevant section of the template: *.notice;news.none;cron.none @loghost:514 <% if @hostname == "foo" %> # Provides UDP syslog reception $ModLoad imudp.so $UDPServerRun 514 <% end %> So you can see it lives outside

Re: [Puppet Users] Puppet file copy

2012-08-31 Thread Dick Davies
isn't /opt/apache-tomcat/conf/Catalina/localhost a directory? You should still get output saying that on a puppet agent run though. On 31 August 2012 15:18, Bai Shen wrote: > I'm trying to install solr using puppet. I have a module installing tomcat. > Now I'm trying to make another module that

Re: [Puppet Users] Puppet file copy

2012-08-31 Thread Ramin K
On 8/31/2012 7:18 AM, Bai Shen wrote: I'm trying to install solr using puppet. I have a module installing tomcat. Now I'm trying to make another module that installs the solr files. However, it's not copying the file. Any ideas what I'm doing wrong? init.pp: class solr { file { '/op

[Puppet Users] Re: Trying to setup puppetdbquery on puppet-3.0.0-rc5

2012-08-31 Thread Chris Price
Chuck, The cause of this issues is that we introduced our own HTTP connection wrapper in 3.0 (rather than using Net::HTTP directly). This allows us to do a better job of centralizing the logic related to managing SSL setup and error handling. Our Connection class provides a subset of the meth

[Puppet Users] Re: Literal @ character in erb template

2012-08-31 Thread Krzysztof Wilczynski
Hi, I am not sure how your template looks like, or how do you render it, but try to avoid putting anything with @ into a <%= %> block. It should just work: matti@acrux ~ $ irb >> require 'erb' => true >> host = 'localhost' => "localhost" >> p ERB.new('*.notice;news.none;cron.none @<%= host %>:

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-31 Thread Chad Huneycutt
Sorry, Sandra, I started to add a comment at the bottom with usage, but apparently I never saved it. Although the script can do user keys as well, this just addresses host keys. I have a cron script that generates the known hosts file as well: 0,10,20,30,40,50 * * * * /tr01/scripts/sshkeys.pl --

[Puppet Users] Puppet file copy

2012-08-31 Thread Bai Shen
I'm trying to install solr using puppet. I have a module installing tomcat. Now I'm trying to make another module that installs the solr files. However, it's not copying the file. Any ideas what I'm doing wrong? init.pp: class solr { file { '/opt/apache-tomcat/conf/Catalina/localhost':

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-31 Thread jcbollinger
On Friday, August 31, 2012 8:38:03 AM UTC-5, Sandra Schlichting wrote: > > Err, no. In a well-maintained environment, it should never be necessary >> to manually approve a host key. >> > > I would prefer that too. > > >> Usually you should always distribute all host keys to all clients with >

[Puppet Users] Literal @ character in erb template

2012-08-31 Thread banjer
Hi, I have a template named rsyslog.conf.erb, and the puppet agents seem to be choking on this: **.notice;news.none;cron.none @loghost:514* The agents report an error of ": bad URI(is not URI?): " followed by a bunch of jargon. I'm pretty sure its the literal '@' symbol that its trying to ev

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-31 Thread Sandra Schlichting
> > Err, no. In a well-maintained environment, it should never be necessary > to manually approve a host key. > I would prefer that too. > Usually you should always distribute all host keys to all clients with > one of the common @@ssh_key Export/Collect patterns. That is totally > unrelat

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-31 Thread David Schmitt
On 31.08.2012 14:32, Sandra Schlichting wrote: There's an sshauth module at http://projects.reductivelabs.com/projects/puppet/wiki/Module_Ssh_Auth_Patterns that I've used successfully on a 2.7.x p

[Puppet Users] Re: Passenger Problems

2012-08-31 Thread matonb
> > It turns out that for me at least this problem was caused by using the > directory /etc/puppet/rack/ as the document root. > Creating the directory puppetmasterd and moving everything to down a level > to /etc/puppet/rack/puppetmasterd (paths updated in apache config of > course), everythin

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-31 Thread Sandra Schlichting
> > There's an sshauth module at > > http://projects.reductivelabs.com/projects/puppet/wiki/Module_Ssh_Auth_Patterns > > that I've used successfully on a 2.7.x puppetmaster. It handles > public & private key generation and exchange, but doesn't handle > known_hosts. It doesn't require a DB

Re: [Puppet Users] Multiple package install.

2012-08-31 Thread ollies...@googlemail.com
On Friday, August 31, 2012 9:41:28 AM UTC+1, David Schmitt wrote: > > D'oh. here're quotes too! Missed them on the first round. > > D. > Of course there is. Fixed it thanks. Coffee needed for me I think. Cheers Paul -- You received this message because you are subscribed to the Google Gro

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-31 Thread Sandra Schlichting
Hi Chad Here is the script we use to do the same. I am not proud of all the > locking stuff. Not sure if it is necessary or not, but it works. > Just set $hostkeydir and $userkeydir for your environment, and it will > manage ssh host keys. It will also do user keys, but I didn't put > examp

Re: [Puppet Users] Multiple package install.

2012-08-31 Thread David Schmitt
On 2012-08-31 10:26, ollies...@googlemail.com wrote: On Friday, August 31, 2012 9:00:34 AM UTC+1, David Schmitt wrote: On 2012-08-31 09:46, olli...@googlemail.com wrote: > Hello, > For the life of me I cannot get this to work. It's seemingly doable with > a single class

Re: [Puppet Users] Multiple package install.

2012-08-31 Thread ollies...@googlemail.com
On Friday, August 31, 2012 9:00:34 AM UTC+1, David Schmitt wrote: > > On 2012-08-31 09:46, olli...@googlemail.com wrote: > > Hello, > > For the life of me I cannot get this to work. It's seemingly doable with > > a single class but outside > > params.pp: > > class vmware::params { > >

[Puppet Users] Passenger Problems

2012-08-31 Thread matonb
I'm having trouble getting puppetmaster to use passenger, it appears to be releated SSL selfsigned certificates but I could be barking up the wrong tree... Puppet Master is hosted on a CentOS 6.0 32bit machine # yum list installed | grep puppet facter.i3861:1.6.11-1.el6

Re: [Puppet Users] Multiple package install.

2012-08-31 Thread David Schmitt
On 2012-08-31 09:46, ollies...@googlemail.com wrote: Hello, For the life of me I cannot get this to work. It's seemingly doable with a single class but outside params.pp: class vmware::params { case $::lsbmajdistrelease { '4': { $packagelist = "[ 'vmware-tools-esx-kmods-smp', 'vmware-tools-es

[Puppet Users] Multiple package install.

2012-08-31 Thread ollies...@googlemail.com
Hello, For the life of me I cannot get this to work. It's seemingly doable with a single class but outside params.pp: class vmware::params { case $::lsbmajdistrelease { '4': { $packagelist = "[ 'vmware-tools-esx-kmods-smp', 'vmware-tools-esx-kmods-up' ]" } default: {

Re: [Puppet Users] using puppet augeas to add entry in /etc/syslog.conf

2012-08-31 Thread Erik Dalén
If you know some ruby coding you could make a type and provider using either parsedfile or augeas like the augeasproviders: https://github.com/domcleal/augeasproviders You could possibly also use the file_line type from puppetlabs-stdlib. On 28 August 2012 23:20, Clay wrote: > Hi , > I"m trying