Re: [Puppet Users] Puppet/Puppetboard throwing error 'Internal Server Error'

2016-01-26 Thread Manoj Kumar
Yes, puppetdb is running :( Thanks and Regards, Manoj Kumar FB : http://www.facebook.com/manojksamtani Blogger: http://linuxtroubleshoot.blogspot.com/ On Tue, Jan 26, 2016 at 5:19 PM, Lowe Schmidt wrote: > Is PuppetDB running? > > -- > Lowe Schmidt | +46 723 867 157 > > On 25 January 2016 at 13

Re: [Puppet Users] Re: Prefetch in custom types in Puppet v4?

2016-01-26 Thread 'Stefan Schulte' via Puppet Users
On 19.01.2016 02:53, Jakov Sosic wrote: > On 01/19/2016 02:52 AM, Jakov Sosic wrote: >> Hi guys, >> >> >> I've noticed the following problem with one of my providers in v4. >> >> This is the original prefetch method I used: >> >> def self.prefetch(resources) >> instances.each do |prov|

[Puppet Users] exec without a shell

2016-01-26 Thread 'Stefan Schulte' via Puppet Users
Hello, I've got a quick question about the exec type. The exec type does have a shell provider and a posix provider and the posix provider says # https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/exec/posix.rb Executes external binaries **directly, without passing throu

[Puppet Users] Announce: Facter 2.4.6 Available

2016-01-26 Thread Branan Riley
Facter 2.4.6 reverts the changes made for FACT-380. It is otherwise identical to Facter 2.4.5. To download Facter, follow the instructions here: http://docs.puppetlabs.com/puppet/3.8/reference/pre_install.html Release notes are available here: https://docs.puppetlabs.com/facter/2.4/release_notes.

Re: [Puppet Users] r10k database backend

2016-01-26 Thread Christopher Wood
On Mon, Jan 25, 2016 at 03:25:03PM -0800, Patrick Lesher wrote: >Has anyone thought about or tried to have r10k run against a mysql backend >to populate at least the information the puppetfile gives? Not quite the same problem or solution, but we use basemodulepath to keep a common set of

[Puppet Users] Re: r10k database backend

2016-01-26 Thread Corey Osman
Yea, I don't see why you couldn't reach out to a redis instance and grab the data and then generate the puppetfile. Curious if there is a way to get the current branch that r10k would be using at time of execution? On Tuesday, January 26, 2016 at 10:27:58 AM UTC-8, Patrick Lesher wrote: > > >

Re: [Puppet Users] Announce: puppet-retrospec release 0.12.0 - generate modules, facts, functions, types, providers and schemas easily

2016-01-26 Thread Corey Osman
Puppet 4 is "supported" when using --enable-future-parser, retrospec will create everything needed to test puppet4 except for the actual tests blocks for classes and defines. If you have a bunch of parameters to mock retrospec will generate the let(:params) block. All the new generators don'

[Puppet Users] Re: r10k database backend

2016-01-26 Thread Patrick Lesher
On Tuesday, January 26, 2016 at 5:09:11 AM UTC-8, Clayton O'Neill wrote: > > On Monday, January 25, 2016 at 6:48:07 PM UTC-5, Patrick Lesher wrote: > >> Has anyone thought about or tried to have r10k run against a mysql >> backend to populate at least the information the puppetfile gives? >> >>

Re: [Puppet Users] Re: manipulating new facts

2016-01-26 Thread Peter Huene
On Tue, Jan 26, 2016 at 6:16 AM, jcbollinger wrote: > > > On Monday, January 25, 2016 at 5:48:18 PM UTC-6, Diego Roccia wrote: >> >> Hi >> >> I'm migrating my puppet configuration from 3.6 to v4.2, but I'm having >> some problem with ip type facts. For example, I have this line : >> >> priority

Re: [Puppet Users] Announce: puppet-retrospec release 0.12.0 - generate modules, facts, functions, types, providers and schemas easily

2016-01-26 Thread Jo Rhett
Implied but not explicit … Puppet 4 supported now? > On Jan 26, 2016, at 8:59 AM, Corey Osman wrote: > > Happy to announce that release 0.12.0 of puppet-retrospec is now available. > Its taking me a long time to get this ready and this is a huge feature > update, but retrospec is now even mo

[Puppet Users] rspec-puppet 2.3.2

2016-01-26 Thread David Schmitt
Hi, over the weekend there was a situation where the newest puppet versions (3.8.5 and 4.3.2) would interact badly with the latest version of rspec-puppet (2.3.0). Yesterday I uploaded 2.3.1 to fix the issue with 3.8.5 and today there is 2.3.2 to completely fix this across all puppet versions. I

[Puppet Users] Announce: puppet-retrospec release 0.12.0 - generate modules, facts, functions, types, providers and schemas easily

2016-01-26 Thread Corey Osman
Happy to announce that release 0.12.0 of puppet-retrospec is now available. Its taking me a long time to get this ready and this is a huge feature update, but retrospec is now even more useful. Retrospec can now automatically generate some of the more complex puppet module files like facts, f

Re: [Puppet Users] New Resource Type for bareos

2016-01-26 Thread Thomas Bendler
Hi Björn, depends on how you would like to implement the fully automatic configuration. I do this on the server side because backup is nothing that apply out of the box after provisioning to the client and server. Under normal circumstances I would like to add a client only to the backup if rea

Re: [Puppet Users] Error: Could not find class apache

2016-01-26 Thread Maruti Gangumolu
Hi Lowe, Here are the details This is the directory structure for manifests file site.pp and nodes.pp :- "C:\Maruti\Puppet\manifests" The is the code for site.pp file import 'nodes.pp' This is the code for nodes.pp file node 'IMIBLRKA1030' { include apache } This is the dire

[Puppet Users] Re: manipulating new facts

2016-01-26 Thread jcbollinger
On Monday, January 25, 2016 at 5:48:18 PM UTC-6, Diego Roccia wrote: > > Hi > > I'm migrating my puppet configuration from 3.6 to v4.2, but I'm having > some problem with ip type facts. For example, I have this line : > > priority => inline_template('<%= 256 - > ipaddress.split(".")[3]

[Puppet Users] Re: r10k database backend

2016-01-26 Thread Clayton O'Neill
On Monday, January 25, 2016 at 6:48:07 PM UTC-5, Patrick Lesher wrote: > Has anyone thought about or tried to have r10k run against a mysql backend > to populate at least the information the puppetfile gives? > > Updating each puppetfile for a large number of “Environments” can be > burdonsome w

Re: [Puppet Users] Error: Could not find class apache

2016-01-26 Thread Lowe Schmidt
You will have to show us the relevant puppet code and link to the module you are using. Also read the link in the error message. -- Lowe Schmidt | +46 723 867 157 On 25 January 2016 at 21:11, Maruti Gangumolu wrote: > Hi Team, > > I'm new to puppet coding and I'm trying to install apache tomc

Re: [Puppet Users] Puppet/Puppetboard throwing error 'Internal Server Error'

2016-01-26 Thread Lowe Schmidt
Is PuppetDB running? -- Lowe Schmidt | +46 723 867 157 On 25 January 2016 at 13:29, Manoj Kumar wrote: > Getting following error in apache logs : > > [Mon Jan 25 11:44:21.960584 2016] [:error] [pid 13523] > ERROR:pypuppetdb.api:Not Found localhost:8080 over HTTP. > [Mon Jan 25 11:44:21.964374 2