[Puppet Users] Hiera question

2016-06-30 Thread Alex Samad
Hi I have in my common.yaml --- classes: - ssh How do I say if the OS is linux then add that class ? Thanks Alex -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an

[Puppet Users] Re: BROKEN PUPPETDB

2016-06-30 Thread Virat
var/log/puppetlabs/puppetdb/puppetdb.log 2016-06-30 17:13:54,355 INFO [o.e.j.s.Server] jetty-9.2.z-SNAPSHOT 2016-06-30 17:13:54,448 INFO [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@1818e640{/metrics,null,AVAILABLE} 2016-06-30 17:13:54,448 INFO [o.e.j.s.h.ContextHandler]

Re: [Puppet Users] Installing PuppetDB on Debian 8 with Puppet 3.7

2016-06-30 Thread Melissa Stone
On Thu, Jun 30, 2016 at 1:56 PM John Naggets wrote: > Hi Melissa, > > So do I understand you correctly here: there is no way that I can run > PuppetDB on a Debian 8 server using the official Debian Puppet version 3.7 > package? > You can run it with the wheezy package

Re: [Puppet Users] BROKEN PUPPETDB

2016-06-30 Thread Wyatt Alt
Virat, Please describe what is going wrong with puppetdb. If there is an error in the puppetdb log, share it in a gist. Wyatt On 06/30/2016 02:45 PM, Virat wrote: Hello All, I have configured opensource puppet master 4.5.2 & puppetdb 4.1.2. Then started connecting master and db servers as

[Puppet Users] BROKEN PUPPETDB

2016-06-30 Thread Virat
Hello All, I have configured opensource puppet master 4.5.2 & puppetdb 4.1.2. Then started connecting master and db servers as below. puppet master /etc/puppetlabs/puppet/puppet.conf [master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /var/log/puppetlabs/puppetserver rundir =

[Puppet Users] BROKEN PUPPETDB

2016-06-30 Thread Virat
Hello All, I have configured opensource puppet master 4.5.2 & puppetdb 4.1.2. Then started connecting master and db servers as below. puppet master /etc/puppetlabs/puppet/puppet.conf [master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /var/log/puppetlabs/puppetserver rundir =

Re: [Puppet Users] Installing PuppetDB on Debian 8 with Puppet 3.7

2016-06-30 Thread John Naggets
Hi Melissa, So do I understand you correctly here: there is no way that I can run PuppetDB on a Debian 8 server using the official Debian Puppet version 3.7 package? Regards John On Thursday, June 30, 2016 at 7:28:34 PM UTC+2, Melissa Stone wrote: > > > > On Thu, Jun 30, 2016 at 9:12 AM Wyatt

Re: [Puppet Users] R10k Post Recieve Hook Git/Github

2016-06-30 Thread Rob Nelson
I've written some articles on r10k, including setting up a webhook - https://rnelson0.com/2015/05/03/configuring-an-r10k-webhook-on-your-puppet-master/ It's from 2015 so you should probably use newer versions of zack/r10k and the r10k gem but it's otherwise the same as what I'm using to this day.

[Puppet Users] R10k Post Recieve Hook Git/Github

2016-06-30 Thread broncosd183
Hello, I am currently using the open source version of puppet and am looking to automate the deployment of environments whenever a change is pushed to the control repo (containing the Puppetfile, etc). I am interested in finding the simplest solution possible and have come across some

Re: [Puppet Users] Installing PuppetDB on Debian 8 with Puppet 3.7

2016-06-30 Thread Melissa Stone
On Thu, Jun 30, 2016 at 9:12 AM Wyatt Alt wrote: > > > > On 06/29/2016 10:30 PM, John Naggets wrote: > > Hi Wyatt, > > > > Any ideas where I can find PuppetDB v2.x? In the APT repository of > > PuppetLabs the oldest I can find is version 3.2. > Those are in the non-PC1 repos at

Re: [Puppet Users] Installing PuppetDB on Debian 8 with Puppet 3.7

2016-06-30 Thread Wyatt Alt
On 06/29/2016 10:30 PM, John Naggets wrote: Hi Wyatt, Any ideas where I can find PuppetDB v2.x? In the APT repository of PuppetLabs the oldest I can find is version 3.2. Those are in the non-PC1 repos at apt.puppetlabs.com, but is no 2.3.x package for Jessie there. The wheezy ones appear

Re: [Puppet Users] Re: Question about custom exported resource

2016-06-30 Thread Bret Wortman
Nope. I'm good. This is working like a champ now. Thanks, John! *Bret Wortman* http://wrapbuddies.co/ On Thu, Jun 30, 2016 at 9:05 AM, jcbollinger wrote: > > > On Wednesday, June 29, 2016 at 8:57:51 AM UTC-5, Bret Wortman wrote: >> >> I

Re: [Puppet Users] puppet exec to test if pattern exist in file

2016-06-30 Thread Andrew Morgan
Thank you , my solution works, but will use yours as it is best practice. On Thursday, 30 June 2016 06:49:09 UTC-4, Martin Alfke wrote: > > Hi Alonso, > > On 29 Jun 2016, at 19:06, Andrew Morgan > wrote: > > > Thank you very much for your prompt reply... > > > > Will

Re: [Puppet Users] Re: Question about custom exported resource

2016-06-30 Thread jcbollinger
On Wednesday, June 29, 2016 at 8:57:51 AM UTC-5, Bret Wortman wrote: > > I like that, John. Titles are guaranteed to be unique or the catalog won't > compile, right? This is absolutely supposed to be a one-and-only-one kind > of thing, so using title makes much more sense. > Yes, all

Re: [Puppet Users] puppet exec to test if pattern exist in file

2016-06-30 Thread Martin Alfke
Hi Alonso, On 29 Jun 2016, at 19:06, Andrew Morgan wrote: > Thank you very much for your prompt reply... > > Will this work?? > > class environment { > > exec{'oe_run': > path=>'/usr/bin', > command => 'echo

Re: [Puppet Users] Loading predefined docker image

2016-06-30 Thread Gareth Rushgrove
Hi On 29 June 2016 at 03:51, Fuad P T wrote: > hi, > I am using Puppet open source to configure my nodes. I want to configure my > nodes as docker engines. I achieved this by this by using 'garathe-docker' > module. But i am unable to load my predefined docker image to nodes.