Re: [Puppet Users] Web interface to Facter information, system config reporting?

2012-12-20 Thread Ohad Levy
On Wed, Dec 19, 2012 at 9:27 PM, Forrie wrote: > In our department, we recently bought an install of HP's SIM agent -- it's > some hacky configuration reporting and management platform that also > facilitates firmware updates, etc. I don't care for it. > > For one, it requires root logins, but

Re: [Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-20 Thread krishna bhaskara rao
Hi Matt, While executing the command "*puppet agent --server test.puppetmaster.com --debug*" in puppet agent on Windows I am getting mentioned exception. As per my understanding, While executing said command, agent will send a request to pupet master for certificate sign off, it's not happening

[Puppet Users] Re: Trying to get complex data set into Puppet from ENC

2012-12-20 Thread Danie van Zyl
I'm having the same problem. On Wednesday, 23 May 2012 02:10:21 UTC+2, Jared Ballou wrote: > > Hi everyone, > > I've been reading the groups here for a while, and have gotten a lot > of things fixed by finding other people's posts, so hopefully someone > will be able to set me straight. I am wo

[Puppet Users] Re: Trying to get complex data set into Puppet from ENC

2012-12-20 Thread Luke Bigum
Hi Jared, On Wednesday, May 23, 2012 1:10:21 AM UTC+1, Jared Ballou wrote: > Hi everyone, > > I've been reading the groups here for a while, and have gotten a lot > of things fixed by finding other people's posts, so hopefully someone > will be able to set me straight. I am working on a Puppet

[Puppet Users] puppet dashboard run time problems

2012-12-20 Thread Jacob
Hello all, I just noticed that in my dashboard the "Run Time" graph shows really weird output. It seems like it is different for different nodes. For some nodes, it doesn't seem to be updating, and for others it graphs values that are wrong. The "recent report" table seems to be correct howev

[Puppet Users] Re: Whats the best approach to create a repo of the installers to be used for installing and upgrading in the puppet managed nodes

2012-12-20 Thread Keiran Sweet
Hi There, This is the type of task that is best serviced using the packaging framework of your operating system (ie, RPM, Deb, etc). In this case, I'd roll the software into RPMs and have them installed via the package {} type on all your nodes from a central YUM repo, followed by the deploymen

Re: [Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-20 Thread Matthew Burgess
On Thu, Dec 20, 2012 at 9:36 AM, krishna bhaskara rao wrote: > Hi Matt, > > While executing the command "puppet agent --server test.puppetmaster.com > --debug" in puppet agent on Windows I am getting mentioned exception. I generally dislike specifying the server on the command line. What does th

Re: [Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-20 Thread krishna bhaskara rao
Hi Matt, I have configured hostname of the master in hosts file as below in windows agent. 10.248.113.198 test.master.internal puppetmaster and added an entry "server=test.master.internal" in agent in windows puppet.conf. If I execute command *puppet agent --test,* I

Re: [Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-20 Thread Matthew Burgess
On Thu, Dec 20, 2012 at 12:17 PM, krishna bhaskara rao wrote: > Hi Matt, > > I have configured hostname of the master in hosts file as below in windows > agent. > 10.248.113.198 test.master.internal puppetmaster > and added an entry "server=test.master.internal" in agent

[Puppet Users] hspuppetmaster release

2012-12-20 Thread Simon Marechal
I just released a very alpha version of the software : http://lpuppet.banquise.net/blog/2012/12/20/hspuppetmaster-alpha-release/ It should become a full replacement for the current Puppet master, but with much better performance characteristics and ease of deployment. It is also not Puppet-perf

[Puppet Users] Re: How to manage puppet modules? git submodules? hg subrepositories? own solution?

2012-12-20 Thread Benjamin Priestman
I've tried using https://github.com/azimux/externals (referenced in Version Control with Git ) which kind of works, but is a bit buggy and I've yet to come up with an easily understood workflow. On Tuesday, 18 December 2012 17:59:48 UTC, Malte J

Re: [Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-20 Thread jcbollinger
On Thursday, December 20, 2012 6:26:07 AM UTC-6, Matthew Burgess wrote: > > > So, what's in your /etc/puppet/manifests/site.pp on the master then? > > At the minimum, it should have: > > node default { > } > > Now where did I see that before? :-) John -- You received this message becau

Re: [Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-20 Thread Matthew Burgess
On Thu, Dec 20, 2012 at 2:06 PM, jcbollinger wrote: > Now where did I see that before? :-) Ha, I thought you'd mentioned it before, but gmail's stupid interface (I always blame my tools!) meant I skimmed straight past it when I was double-checking) :-) Cheers, Matt. -- You received this mes

[Puppet Users] Re: passing parameters

2012-12-20 Thread jcbollinger
On Wednesday, December 19, 2012 3:45:39 PM UTC-6, Michael Hüttermann wrote: > > > I use a parameterized class and declare it as a resource. How can I pass > the parameters from outside any declaration or manifest, during runtime? > To the best of my knowledge, it is not possible to do such a

[Puppet Users] Unable to clone package using console

2012-12-20 Thread DAVER
Hi, I have installed puppet enterprise 2.7 on a virtual machine with cent-OS 6.2(64 bit) as base. I have installed one puppetserver with console and master role and nine puppet clients with agent role. I did the certificate signing work. I have tried cloning user and group resource types a

Re: [Puppet Users] Whats the best approach to create a repo of the installers to be used for installing and upgrading in the puppet managed nodes

2012-12-20 Thread Louis Coilliot
Hello, why not making a rpm or deb package for the application and using the resource 'package' ? Here is an example with JBoss : http://kermit.fr/repo/rpm/el6/x86_64/jboss/ http://kermit.fr/repo/rpm/el6/SRPMS/ https://github.com/lofic/puppet-lofic/tree/master/modules/jboss7 Louis Coilliot 201

Re: [Puppet Users] Puppet pushes facts even when I'm not including the module

2012-12-20 Thread David Kerr
On Wednesday, December 19, 2012 1:02:48 PM UTC-8, Ramin K wrote: > > On 12/19/2012 11:55 AM, David Kerr wrote: > > Howdy, > > > > I've got a module that's the equivalent of: > > /etc/puppet/modules/mymodule/lib/facter/myfact.rb > > > > myfact.rb seems to get pushed to all nodes regardless o

[Puppet Users] Re: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key

2012-12-20 Thread Mehmet Tecer
Krishna, Here is how I quickly resolve this issue. 1- Stop puppet on client. 2- Delete the cert on the server 3- Delete /var/lib/puppet directory on client. 4- Start puppet on client. This should take care of your cert issue. --Mehmet On Wednesday, November 28, 2012 8:53:02 AM UTC-5, krishna

[Puppet Users] How to only apply my manifests to certain classes?

2012-12-20 Thread Steve Button
Hi, I've written a new resolv class, but I only want it to get pushed out (for instance) UAT servers for now. Or perhaps just servers which have apache installed, or just the ones which are part of project xyz. I've been searching through the docs, but I think I'm looking in the wrong place. A

[Puppet Users] Remote Network Device management...

2012-12-20 Thread Gavin Williams
Afternoon all We are starting to look at using Puppet Network device support in anger, and one of the potential issues that has been raised is around cross-site access... Currently, we have one Puppet master server, which is hosted in location C. This server is able to access and manage the a

Re: [Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-20 Thread krishna bhaskara rao
Hi John, I have nodes.pp as node basenode { } node 'test.master.com' inherits basenode { } site.pp as import 'nodes' node 'test.agent.com' { } With Regards, Krishna Bhaskar.' On Thursday, 20 December 2012 19:36:36 UTC+5:30, jcbollinger wrote: > > > > On Thursday, December 20, 2012 6:26:07

Re: [Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-20 Thread krishna bhaskara rao
Hi Matt, I have nodes.pp as node basenode { } node 'test.master.com' inherits basenode { } site.pp as import 'nodes' node 'test.agent.com' { } With Regards, Krishna Bhaskar.' On Thursday, 20 December 2012 17:56:07 UTC+5:30, Matthew Burgess wrote: > > On Thu, Dec 20, 2012 at 12:17 PM, krishn

Re: [Puppet Users] How to only apply my manifests to certain classes?

2012-12-20 Thread Matthew Burgess
On Thu, Dec 20, 2012 at 4:11 PM, Steve Button wrote: > Hi, > > I've written a new resolv class, but I only want it to get pushed out (for > instance) UAT servers for now. Or perhaps just servers which have apache > installed, or just the ones which are part of project xyz. Depending on the size a

Re: [Puppet Users] How to only apply my manifests to certain classes?

2012-12-20 Thread Roman Shaposhnik
On Thu, Dec 20, 2012 at 8:11 AM, Steve Button wrote: > Hi, > > I've written a new resolv class, but I only want it to get pushed out (for > instance) UAT servers for now. Or perhaps just servers which have apache > installed, or just the ones which are part of project xyz. There are a couple of w

Re: [Puppet Users] Re: Reg : Error in puppet agent in Windows

2012-12-20 Thread Matthew Burgess
On Thu, Dec 20, 2012 at 4:48 PM, krishna bhaskara rao wrote: > Hi Matt, > > I have nodes.pp as > node basenode { > } > node 'test.master.com' inherits basenode { } > > site.pp as > import 'nodes' > node 'test.agent.com' { > } Have you just obfuscated those due to posting on a mailing list? Your

[Puppet Users] installing puppet via rubygems (not recommended?)

2012-12-20 Thread Dusty Doris
I have an old fedora 9 machine running ruby 1.9.2-p290, that I'd like to install puppet on to run as a master. In the documentation it says that installing from rubygems is not recommended. Is there are particular reason why its not recommended? Installing from source is also not recommended

Re: [Puppet Users] Re: How to manage puppet modules? git submodules? hg subrepositories? own solution?

2012-12-20 Thread Mason Turner
We are still using svn, but looking on adapt this to git next year. This is a simplified view of our svn repo: - nodes -- dev --- trunk --- tags 20121220-121212 -- prod --- trunk --- tags - modules -- apache --- trunk --- tags 20121220-121212 -- something_else --- trunk --- tags

Re: [Puppet Users] installing puppet via rubygems (not recommended?)

2012-12-20 Thread Jakov Sosic
On 12/20/2012 07:16 PM, Dusty Doris wrote: > I have an old fedora 9 machine running ruby 1.9.2-p290, that I'd like to > install puppet on to run as a master. In the documentation it says that > installing from rubygems is not recommended. Is there are particular > reason why its not recommended?

Re: [Puppet Users] installing puppet via rubygems (not recommended?)

2012-12-20 Thread Dusty Doris
Thanks for the reply. So there is nothing inherently wrong with the rubygems package that we would run into? We already use rubygems for several services, so it seems like the easiest route for us. Doing a yum install, it wanted to install version 0.24. I will look into repackaging it though

[Puppet Users] Re: How to only apply my manifests to certain classes?

2012-12-20 Thread Ellison Marks
An option that hasn't been mentioned yet is hiera. It's great to use for data, but you can also use it to say what classes get applied to what nodes. You define some variable in your hierarchy, say 'classes', which is an array of class names to be included, and then in your default node definit

Re: [Puppet Users] Re: Puppet NetApp Network device management...

2012-12-20 Thread fatmcgav
Jakov Thank you for the positive feedback. The NetApp puppet stuff is on the back burner atm, hopefully should be able to get back to buy in the new year :-) Cheers Gav On Dec 19, 2012 2:34 AM, "Jakov Sosic" wrote: > On 11/12/2012 12:59 PM, Gavin Williams wrote: > >> Monday update from me... >

[Puppet Users] Re: puppet agent periodically not running after 3.0 upgrade

2012-12-20 Thread David Mesler
I’ve added some debugging messages to run_event_loop and figured out what was going on. I’m going to reference line numbers in https://github.com/puppetlabs/puppet/blob/master/lib/puppet/daemon.rb to make it easier on me to explain. I found that occasionally the “if” statement on line 180 was

Re: [Puppet Users] installing puppet via rubygems (not recommended?)

2012-12-20 Thread Nick Fagerlund
Also keep in mind that Ruby 1.9.2 can be problematic! 1.9.3 works great with puppet 3, 1.9.2 has some kind of complicated known issues with puppet 2.7. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit

Re: [Puppet Users] installing puppet via rubygems (not recommended?)

2012-12-20 Thread Nick Fagerlund
On Thursday, December 20, 2012 1:18:30 PM UTC-8, Nick Fagerlund wrote: > > Also keep in mind that Ruby 1.9.2 can be problematic! 1.9.3 works great > with puppet 3, 1.9.2 has some kind of complicated known issues with puppet > 2.7. > (reference: http://docs.puppetlabs.com/guides/platforms.html

Re: [Puppet Users] installing puppet via rubygems (not recommended?)

2012-12-20 Thread Ramin K
On 12/20/2012 10:16 AM, Dusty Doris wrote: I have an old fedora 9 machine running ruby 1.9.2-p290, that I'd like to install puppet on to run as a master. In the documentation it says that installing from rubygems is not recommended. Is there are particular reason why its not recommended? Insta

[Puppet Users] Announce: PuppetDB 1.0.5 Available

2012-12-20 Thread Moses Mendoza
PuppetDB 1.0.5 is now available for download! This is a bug-fix release of PuppetDB. # Downloads == Available in native package format at: http://yum.puppetlabs.com and http://apt.puppetlabs.com Puppet module: http://forge.puppetlabs.com/puppetlabs/puppetdb Source (same license as Pu

Re: [Puppet Users] Web interface to Facter information, system config reporting?

2012-12-20 Thread Forrie
Thanks for the pointers, I will have a look at it. -- 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/-/pseaLhp7xtwJ. To post to this group, send email to puppet

Re: [Puppet Users] installing puppet via rubygems (not recommended?)

2012-12-20 Thread jcbollinger
On Thursday, December 20, 2012 1:45:42 PM UTC-6, Dusty Doris wrote: > > Thanks for the reply. So there is nothing inherently wrong with the > rubygems package that we would run into? We already use rubygems for > several services, so it seems like the easiest route for us. > > Doing a yum ins

Re: [Puppet Users] How to only apply my manifests to certain classes?

2012-12-20 Thread jcbollinger
On Thursday, December 20, 2012 10:51:40 AM UTC-6, Matthew Burgess wrote: > > On Thu, Dec 20, 2012 at 4:11 PM, Steve Button > > > wrote: > > OK. If you're trying to apply your resolv class based on the fact > that Apache is installed, I'd recommend resource dependencies (docs at > http://doc

[Puppet Users] Manage a specific users shadow file entry

2012-12-20 Thread Jagga Soorma
Hi Guys, I am new to puppet and trying to figure out what is the best way to manage a password for a specific user in the /etc/shadow file. Most of my users are being authenticated to kerberos but there is a need to set a local password for this one account. What would be the best method to d

[Puppet Users] Re: Manage a specific users shadow file entry

2012-12-20 Thread Keiran Sweet
Hi There, The user provider allows you to manage the value of the password hash in the shadow file. You can see all the options available for this provider via 'puppet describe user'. An example would be something like: user { username: ensure => present, password =>

[Puppet Users] Re: Manage a specific users shadow file entry

2012-12-20 Thread Jagga Soorma
Thanks for your response Keiran. I am trying to use just that resource but can't seem to get it to work. Here is what my class looks like: class oracle_password { user { 'oracle': ensure => 'present', password => '$1$etSqP2ht$3sjFIsw7q7Vxs5qc5sju//' } } [root@testrhel home]# grep

[Puppet Users] Re: Manage a specific users shadow file entry

2012-12-20 Thread Jagga Soorma
Also, is there maybe a way to ensure a specific entry in a file. In this case, can you ensure there is a entry for the oracle user in the /etc/shadow file with manually giving it all the entries including the password hash. Thanks, -J On Thursday, December 20, 2012 3:48:19 PM UTC-8, Jagga Soo

[Puppet Users] Error 400 on Server

2012-12-20 Thread Kevin Kitchen
I've just installed PE 2.7 and went through the quickstart. I was able to install the motd module without an issue. I decided to try a Java install module to test what I've (not) learned. I've looked at the init.pp file, the name of the class is "java". It shows as installed correctly on the ag

[Puppet Users] Announce: Hiera 1.1.2-rc2 available

2012-12-20 Thread Matthaus Owens
Hiera 1.1.2-rc2 is a release candidate in the 1.x series with bug fixes. Downloads are available at: * Source: https://downloads.puppetlabs.com/hiera/hiera-1.1.2-rc2.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.org/gems/hiera or by u

[Puppet Users] Announce: Puppet Dashboard 1.2.16-rc1 available

2012-12-20 Thread Matthaus Owens
Puppet Dashboard 1.2.16-rc1 is a maintenance release of the 1.2 series of Puppet Dashboard with bug fixes and minor features. This is the first release of Puppet Dashboard with Aaron Stone (sodabrew on github) having commit rights. He has already helped shepherd many pull requests from submission

[Puppet Users] Re: Manage a specific users shadow file entry

2012-12-20 Thread Jagga Soorma
Just in case anyone is trying to do something similar. I found this on the web and it seems to work for me. define line($file, $line, $ensure = 'present') { case $ensure { default : { err ( "unknown ensure value ${ensure}" ) } present: { exec { "/bin/echo '${lin

Re: [Puppet Users] Remote Network Device management...

2012-12-20 Thread Peter Brown
On 21 December 2012 02:40, Gavin Williams wrote: > Afternoon all > > We are starting to look at using Puppet Network device support in anger, > and one of the potential issues that has been raised is around cross-site > access... > > Currently, we have one Puppet master server, which is hosted in

[Puppet Users] Reporting for masterless Puppet?

2012-12-20 Thread Mitchell Hashimoto
Hi, A lazy google search brings up nothing definitive, so I ask the mailing list: Does reporting work with masterless Puppet? Can it be enabled? Best, Mitchell -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email

Re: [Puppet Users] Reporting for masterless Puppet?

2012-12-20 Thread Tom Linkin
If you use the 'reports' setting in the [main] section of your puppet.conf, your puppet apply report will be run through the report processors you specify. -- Tom Linkin Professional Services Engineer http://puppetlabs.com/ twitter: @trlinkin On Thursday, December 20, 2012 at 7:44 PM, Mitche

Re: [Puppet Users] Reporting for masterless Puppet?

2012-12-20 Thread Gary Larizza
You can run Puppet masterless (in puppet apply mode) and generate reports that would be processed in the same way as they would on the master (however, the report processor would need to exist on every node). All the puppet.conf settings around reports ( http://docs.puppetlabs.com/references/stabl

[Puppet Users] Puppet 3.0.1: time spent fot "File" resource increased

2012-12-20 Thread Boris
After updating master from 2.7.12 to 3.0.1 I noticed, that agents began spending more time on "File" resources, which I can see from --summarize output: about 40-45 seconds now, and about 25-30 before update. What could cause this problem? I also noticed, that "preferred_serialization_format

Re: [Puppet Users] Re: Python PIP and Centos 6

2012-12-20 Thread Jared Curtis
I've created another pull request that's a little more flexible than your version. If some other OS uses a different name for pip then it can easily be added to the case statement. https://github.com/puppetlabs/puppet/pull/1346 On Wednesday, December 19, 2012 10:41:16 PM UTC-8, Joshua Vote wrot

[Puppet Users] Re: Changing Agent Environment Via Custom Fact

2012-12-20 Thread Boris
Why not make puppet.conf.erb and pass it your env-vatiable. But you will need to run puppet agent once more to apply catalog from new env. четверг, 20 декабря 2012 г., 5:16:27 UTC+4 пользователь joel johnston написал: > > It is very likely that I don't completely understand the order of > opera