[Puppet Users] Re: puppet in java

2013-12-03 Thread PRAVEEN D
Current application is a standalone web application running in one server, so we use spring framwork to load the properties. New direction is to go with a distributed and clustered model, that is where we are getting complicated with the property file management. Let me know your thoughts on th

[Puppet Users] Re: VMware and open source puppet

2013-12-03 Thread Dhanarajan Ponnurangam
Thanks Ygor for your reply. Could you please eloborate on your statement. I understand that ESX is installed in the bare metal server. Now I need to create VM's in this server through puppet. What are the hardware and software resource I may need to accomplish this. It will be of great help if

[Puppet Users] Re: VMware and open source puppet

2013-12-03 Thread Dhanarajan Ponnurangam
Thanks Felix, You are right. I wanted to created, configure and manager VM's in the ESX server with the help of puppet. Can anyone in the group help on this regard. Appreciate a lot. Regards, Dhanarajan.P On Tuesday, 26 November 2013 23:32:34 UTC-8, Dhanarajan Ponnurangam wrote: > > > > Hi All

[Puppet Users] what is the right way to ensure specific version installed on puppet agent?

2013-12-03 Thread shlo . afgin
Hi, I wanted to install mysql-5.1.66 and make sure mysql-5.5.34 removed so I make a init.pp file and put in it: class mysql { package { 'mysql': ensure => "5.1.66-2.el6_3", require => [Package['mysql-libs'], Package['compat-mysql'],

[Puppet Users] Submit Puppet talks to upcoming events

2013-12-03 Thread Dawn Foster
There are a few CFPs (some with recently extended deadlines), and I thought some community members might be interested in submitting session proposals. Since I've posted about a few of these before, I'll keep it short. Upcoming Puppet Camps: http://puppetlabs.com/blog/you-should-present-upcoming-p

Re: [Puppet Users] VMware and open source puppet

2013-12-03 Thread Dan White
VMWare ESX(i) runs on bare metal. ( http://www.vmware.com/files/pdf/VMware-ESX-and-VMware-ESXi-DS-EN.pdf ) So you would not install Puppet on the same server (directly) On Dec 3, 2013, at 8:30 PM, Felix Frank wrote: > Hi. > > No. Don't remove ESX. That's not was I was implying. > > From yo

Re: [Puppet Users] MySQL server install with datadir != /var/lib/mysql

2013-12-03 Thread Dan White
One gets the impression that you have tried and have been unsuccessful. Details would help with troubleshooting. On Dec 3, 2013, at 8:39 PM, Thomas wrote: > Has anybody sucessfully used puppetlabs-mysql (or some other method) to > install MySQL-server on Linux with a my.cnf where datadir != /v

[Puppet Users] MySQL server install with datadir != /var/lib/mysql

2013-12-03 Thread Thomas
Has anybody sucessfully used puppetlabs-mysql (or some other method) to install MySQL-server on Linux with a my.cnf where datadir != /var/lib/mysql ? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop recei

Re: [Puppet Users] Re: VMware and open source puppet

2013-12-03 Thread Felix Frank
Hi. No. Don't remove ESX. That's not was I was implying. >From your original inquiries, I was under the impression that you meant to deploy Centos VMs by whatever means and use puppet to configure their operating system. Apparently, what you are attempting is the provisioning of the VMs themselv

Re: [Puppet Users] Can't find good tutorial/how-to

2013-12-03 Thread Rich Burroughs
Yeah agreed. I took a few of those, I thought they were well done. Rich On Tue, Nov 26, 2013 at 5:02 PM, Nathan Valentine wrote: > Hey, Stephen. > > I point people here: https://puppetlabs.com/learn/library. Free > self-directed videos about core Puppet concepts with similar content to the > i

[Puppet Users] external node classifiers

2013-12-03 Thread Stuart Cracraft
Hi, I'd like to use ENC:: http://docs.puppetlabs.com/guides/external_nodes.html to keep hardwired customizations away from our classes and other files as much as possible particularly for the node name, but potentially as esoteric as a machine configuration, file permission, service name, et

[Puppet Users] Re: VMware and open source puppet

2013-12-03 Thread Dhanarajan Ponnurangam
Hi Felix, Thanks again for your reply, Please let me know if my understanding is right here, 1. I need to install puppet agent as per http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-red-hat-enterprise-linux-and-derivativesin to my server hardware where ESX5.1 is inst

Re: [Puppet Users] Re: Announce: Puppet 3.4.0-rc1 Available

2013-12-03 Thread Stuart Cracraft
Does the community have any scripts to share which do in-place backups of the PM and a new version upgrade? > On Dec 3, 2013, at 2:45 PM, Matthaus Owens wrote: > > Stuart, > This page has plenty of information about upgrading: > http://docs.puppetlabs.com/guides/upgrading.html > >> On Tue, Dec

Re: [Puppet Users] noop = true and what for test?

2013-12-03 Thread Stuart Cracraft
Thanks for sharing this. > On Dec 3, 2013, at 2:52 PM, John Warburton wrote: > >> On 4 December 2013 04:54, Stuart Cracraft wrote: >> The rationale for the above methodology is: hosting firm doing database >> hosting in a (very) >> highly secured environment seeking to ensure extreme care of

Re: [Puppet Users] noop = true and what for test?

2013-12-03 Thread John Warburton
On 4 December 2013 04:54, Stuart Cracraft wrote: > The rationale for the above methodology is: hosting firm doing database > hosting in a (very) > highly secured environment seeking to ensure extreme care of the "crown > jewels." > > We realize it is not an exciting use case. > We run a similarl

Re: [Puppet Users] Re: Announce: Puppet 3.4.0-rc1 Available

2013-12-03 Thread Matthaus Owens
Stuart, This page has plenty of information about upgrading: http://docs.puppetlabs.com/guides/upgrading.html On Tue, Dec 3, 2013 at 2:33 PM, Stuart Cracraft wrote: > What is the upgrade methodology / documentation to take a 3.2.1 system to > 3.4.0-rc1 ? > > On Tuesday, December 3, 2013 11:42:51

[Puppet Users] Re: puppet-dashboard cert::create_key_pair and cert::request fails

2013-12-03 Thread Jeremy Anderson
Did you ever get this resolved? I'm running into the same thing. If/when I get it figured out, I'll post what it was, but I'm hoping that maybe you've solved it in the meantime. On Monday, October 14, 2013 5:28:54 AM UTC-5, Robert Schaffar-Taurok wrote: > > Hi! > > I am already successfully us

Re: [Puppet Users] Problem with conditional in a template

2013-12-03 Thread Dan White
Both excellent suggestions. Moving this into hiera will take a bit of refactoring/untangling, but your code example should help in the meantime. Thanks. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bi

[Puppet Users] Re: Tracking Bug #21869, Subject is: Error: Could not request certificate:stack level too deep", does not explain the workaround clearly.

2013-12-03 Thread Ronald Frye
On Monday, December 2, 2013 3:48:30 PM UTC-5, Ronald Frye wrote: > > I'm setting up Puppet with externally supported x.509 certificates from a > single CA and I'm encountering this error. The workaround states to copy > the CA's public key from the master to node, however this situation is the

Re: [Puppet Users] Re: external facts cause puppet apply to take inordinately longer to run

2013-12-03 Thread Glenn Poston
Thanks Josh... I made some comments on that ticket and added a vote. On Tuesday, December 3, 2013 1:15:49 PM UTC-5, Josh Cooper wrote: > > > > > On Tue, Dec 3, 2013 at 10:01 AM, Glenn Poston > > wrote: > >> I was curious how much of an effect the long running external fact was >> effecting the t

Re: [Puppet Users] Re: external facts cause puppet apply to take inordinately longer to run

2013-12-03 Thread Glenn Poston
I hope no one takes this personally, but I've got to ask. I've been using external facts for 3 years. I started with facts-dot-d (which I'm sure you're familiar with :). This issue did not exist when I was using that beautiful little gem. Why the re-write/integration when it worked perfect

Re: [Puppet Users] Problem with conditional in a template

2013-12-03 Thread Ramin K
On 12/3/2013 9:54 AM, Dan White wrote: I started with <% if @agent_environment == "production" then -%> and this worked. But then I needed to add a second possibility, so I tried: <% if (@agent_environment == "production" || @agent_environment == "dmz_production") then -%> and <% if ((@agen

[Puppet Users] Re: external facts cause puppet apply to take inordinately longer to run

2013-12-03 Thread Glenn Poston
This bug has been reported, but I think it's severity is understated. Please vote for these bugs. https://projects.puppetlabs.com/issues/22944 -> original https://projects.puppetlabs.com/issues/23335 -> mine (duplicate) -- You received this message because you are subscribed to the Google Grou

Re: [Puppet Users] Re: external facts cause puppet apply to take inordinately longer to run

2013-12-03 Thread Josh Cooper
On Tue, Dec 3, 2013 at 10:01 AM, Glenn Poston wrote: > I was curious how much of an effect the long running external fact was > effecting the timing, so I updated the external fact script to simply echo > the content (instead of fetching it from s3). The facts it produced were > the same as if i

[Puppet Users] Re: external facts cause puppet apply to take inordinately longer to run

2013-12-03 Thread Glenn Poston
I was curious how much of an effect the long running external fact was effecting the timing, so I updated the external fact script to simply echo the content (instead of fetching it from s3). The facts it produced were the same as if it had fetched the facts from S3. I then introduced a 'sleep

[Puppet Users] Re: cli-driven list-file-based ad-hoc runs

2013-12-03 Thread Stuart Cracraft
We'll be using a simple parallel tool which has sequential as an option to do puppet agent -t --noop on the remote nodes. This means we won't need MCollective and the ports it requires open. We're a hosted environment with very heavy security and "deny all" is the default. On Monday, December

[Puppet Users] Re: external facts cause puppet apply to take inordinately longer to run

2013-12-03 Thread Stuart Cracraft
Scary. On Wednesday, November 27, 2013 9:17:44 PM UTC-8, Glenn Poston wrote: > > My external fact script takes 5s to run. > > With external fact... > puppet takes 2.5m to run > facter takes 33s to run > > Without external fact... > puppet takes 27s to run > facter takes 0.68s > > Bottom line... th

Re: [Puppet Users] noop = true and what for test?

2013-12-03 Thread Stuart Cracraft
Understood JC. The use case is a little different and certainly non-Puppeterian in theoretic value but there is rationale for it. I.e. keeps Puppet agent installed but not running on the various nodes except for occasional manual run. When needed to be run (for example for an audit or a forced "

[Puppet Users] Problem with conditional in a template

2013-12-03 Thread Dan White
I started with <% if @agent_environment == "production" then -%> and this worked. But then I needed to add a second possibility, so I tried: <% if (@agent_environment == "production" || @agent_environment == "dmz_production") then -%> and <% if ((@agent_environment == "production") ||

[Puppet Users] Re: external facts cause puppet apply to take inordinately longer to run

2013-12-03 Thread Glenn Poston
On Tuesday, December 3, 2013 11:08:33 AM UTC-5, jcbollinger wrote: > > > > On Wednesday, November 27, 2013 11:17:44 PM UTC-6, Glenn Poston wrote: >> >> My external fact script takes 5s to run. >> >> With external fact... >> puppet takes 2.5m to run >> facter takes 33s to run >> >> Without externa

Re: [Puppet Users] Re: external facts cause puppet apply to take inordinately longer to run

2013-12-03 Thread R.I.Pienaar
- Original Message - > From: "Glenn Poston" > To: puppet-users@googlegroups.com > Sent: Tuesday, December 3, 2013 5:30:30 PM > Subject: [Puppet Users] Re: external facts cause puppet apply to take > inordinately longer to run > > > > On Tuesday, December 3, 2013 11:08:33 AM UTC-5, jc

[Puppet Users] Re: Puppet module testing & code coverage...

2013-12-03 Thread Stuart Cracraft
Gavin, Congratulations on your momentous decision. And it is an important one. You may want to go to www.amazon.com and pick up How Google Tests Software by Whittaker, Arbon, and Carollo. It is also a serious effort. Stuart Afternoon all > > I've read a fair few blogs, slideshares and other s

[Puppet Users] Puppet module testing & code coverage...

2013-12-03 Thread Gavin Williams
Afternoon all I've read a fair few blogs, slideshares and other sources recently around Module testing in Puppet, and it has spurned me on to start writing a test framework around our internal modules... Yes, we aren't currently testing our internal modules... Yes, we *should *be, and yes, I co

[Puppet Users] Fedora 20 Packages

2013-12-03 Thread Brian Pitts
Hi, Since the Fedora 20 final release is a week away, I was wondering if F20 packages for yum.puppetlabs.com are being worked on. All the best, Brian -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop rece

[Puppet Users] Re: best way to distribute puppet manifests

2013-12-03 Thread jcbollinger
On Sunday, December 1, 2013 11:20:50 AM UTC-6, Philippe Conway wrote: > > Hi Everyone, > > I am currently trying to learn puppet through this book called Puppet 3 > Beginners Guide by John Arundel and it talks about distributing puppet > manifests using git. As I'm going through it, it looks a

[Puppet Users] Re: external facts cause puppet apply to take inordinately longer to run

2013-12-03 Thread jcbollinger
On Wednesday, November 27, 2013 11:17:44 PM UTC-6, Glenn Poston wrote: > > My external fact script takes 5s to run. > > With external fact... > puppet takes 2.5m to run > facter takes 33s to run > > Without external fact... > puppet takes 27s to run > facter takes 0.68s > > Bottom line... there's

Re: [Puppet Users] noop = true and what for test?

2013-12-03 Thread jcbollinger
On Tuesday, December 3, 2013 2:18:25 AM UTC-6, Stuart Cracraft wrote: > > > The rationale expressed to me has to do with non-specific > auditing/security requirements... > > My requirement is to research and contradict with prima face evidence or > report and confirm > or some mixture thereof,

[Puppet Users] Re: Class parameter flexibility with ENC, hiera or both

2013-12-03 Thread jcbollinger
On Monday, December 2, 2013 11:39:51 AM UTC-6, pablo.f...@cscs.ch wrote: > > Dear puppetteers, > > I am having a philosophical question about parametrized classes. > When building modules, one wants to be as flexible as possible, to try > to target as many puppet flavors as possible. This is o

Re: [Puppet Users] scope for templates that is called from a class that includes the class that calls the template.

2013-12-03 Thread Felix Frank
In case someone's keeping score - a patch has been posted to github and linked from the Redmine issue. I've had feedback from Puppetlabs' Andy Parker and it looks like this cannot be fixed before Puppet 4.x. In the meantime, please be wary of relying on scoping effects concerning variables used in

Re: [Puppet Users] Re: Puppet Agent does not connect to master after installing Dashboard

2013-12-03 Thread kaustubh chaudhari
Hi, Good to hear that!!! Best docs i feel is http://docs.puppetlabs.com/dashboard/manual/1.2/index.html -Kaustubh On Tuesday, December 3, 2013 4:52:24 AM UTC-5, shlo@gmail.com wrote: > > Hi, > I follow book of older puppet version. I saw in the link you sent about > 'Background Tasks' win

Re: [Puppet Users] Re: Puppet Agent does not connect to master after installing Dashboard

2013-12-03 Thread shlo . afgin
Hi, I follow book of older puppet version. I saw in the link you sent about 'Background Tasks' window, with ' pending tasks' and the command: sudo -u puppet-dashboard env RAILS_ENV=production script/delayed_job -p dashboard -n 4 -m start I run it and now I have the nodes and logs. Thank you very

Re: [Puppet Users] Hiera - override variable

2013-12-03 Thread Felix Frank
Hi, can you give a less abstract example of what you need to happen? Thanks, Felix On 12/01/2013 12:29 PM, Steven Jonthen wrote: > Hi guys, > > I've a class-x, which should overwrite or use the parameters of class-y > which are saved in an Hiera ".yaml"-file. How can I do that? > > I really ne

Re: [Puppet Users] cli-driven list-file-based ad-hoc runs

2013-12-03 Thread Stuart Cracraft
Thankyou. > On Dec 3, 2013, at 1:06 AM, Felix Frank > wrote: > > If I understand this correctly, you are looking for a way to remotely > initiate noop runs on a subset of your agents with a selected set of tags. > > "puppet kick" used to be available for that, and has been superseded by > MCo

Re: [Puppet Users] cli-driven list-file-based ad-hoc runs

2013-12-03 Thread Felix Frank
If I understand this correctly, you are looking for a way to remotely initiate noop runs on a subset of your agents with a selected set of tags. "puppet kick" used to be available for that, and has been superseded by MCollective. To do this in a compliant way, you will need to build an MCollective

Re: [Puppet Users] VMware and open source puppet

2013-12-03 Thread Felix Frank
Hi, it's not clear what software is installed where currently, hypervisor or CentOS VM. How should your final setup be laid out? On 11/27/2013 08:32 AM, Dhanarajan Ponnurangam wrote: > > Hi All, > > I am very new to puppet an vmware. > > I have a hardware server with ESX5.1 installed in it. I

[Puppet Users] Re: Multiple server roles using hiera and facts

2013-12-03 Thread Ger Apeldoorn
I create a class for each role and use hiera_include('roles') to declare those classes. All of these classes live in a module named 'role'. Example hiera: roles: - role::app - role::db - role::proxy Op maandag 2 december 2013 05:58:34 UTC+1 schreef Shiva Narayanaswamy: > > I want to imp

Re: [Puppet Users] noop = true and what for test?

2013-12-03 Thread Stuart Cracraft
The rationale expressed to me has to do with non-specific auditing/security requirements... My requirement is to research and contradict with prima face evidence or report and confirm or some mixture thereof, which is not the simplest of assignments. If anyone at Puppet Labs and the community

[Puppet Users] Re: VMware and open source puppet

2013-12-03 Thread Dhanarajan Ponnurangam
Can anyone help from puppet user group. Appreciate your inputs on the same. On Tuesday, 26 November 2013 23:32:34 UTC-8, Dhanarajan Ponnurangam wrote: > > > > Hi All, > > I am very new to puppet an vmware. > > I have a hardware server with ESX5.1 installed in it. I have a Linux > server (Centos)