Re: [Puppet Users] Re: Sidedoor module

2016-06-03 Thread James Pryor
Has the solaris 10 VM run a "puppet agent -t" and is has had it's SSL certificate signed by the master? If so, have you moved beyond a basic Hello World module? https://docs.puppet.com/pe/2015.2/quick_start_helloworld.html If so, have you classified that solaris 10VM in the PE Console?

[Puppet Users] Re: Sidedoor module

2016-06-03 Thread Warron French
I have posted this twice and haven't gotten any replies on my questions. Are my questions confusing? It's kind of weird that there hasn't been any replies at all on this post. None! On 6/2/2016 10:31 PM, warron.french wrote: I have created, a Puppet Module using PE-2015.2. The module

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-03 Thread jcbollinger
On Friday, June 3, 2016 at 1:51:10 PM UTC-5, LinuxDan wrote: > > First Silly Question: Why ? > What do you need to do that cannot be done with the RPM's from a > Puppetlabs repo ? > If I were undertaking the exercise, it would be to avoid the AIO structure. I may one day undertake that

[Puppet Users] Re: Hiera Hash Merge Issues

2016-06-03 Thread Leonard Smith
I'm having a little trouble verify via the command line because we are using the 'module_data' backend so the hiera data in question is specific to the module. But when I query the data via the module directly it works as expected % hiera --hash -c ./hiera.yaml rabbitmq_profile::vhosts WARN:

[Puppet Users] Re: Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-03 Thread Stefan Heijmans
Have you tried using the source RPMs from here; https://yum.puppetlabs.com/el/6/PC1/SRPMS/ On Friday, June 3, 2016 at 8:44:20 PM UTC+2, Matt Larson wrote: > > > I'm trying to create an RPM from source on a stock RHEL6-based (CentOS6) > instance, but I'm seeing errors. I also posted in >

Re: [Puppet Users] Hiera Hash Merge Issues

2016-06-03 Thread Ramin K
That looks correct and you are also correct that the deep merge gem is not required for simple top level key merges. Only for sub keys. I believe the hiera_hash merge example here is still valid, https://ask.puppet.com/question/13592/when-to-use-hiera-hiera_array-and-hiera_hash/ ##

Re: [Puppet Users] Hiera Hash Merge Issues

2016-06-03 Thread Dan White
Try command line.  Use the debug option Dan White | d_e_wh...@icloud.com “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” (Bill Waterson: Calvin & Hobbes) On

[Puppet Users] Re: Hiera Hash Merge Issues

2016-06-03 Thread Leonard Smith
Clarificaiton. I had tried in the hiera.yaml setting :merge_behavior: deeper the :merge_behavior: deep and :merge_behavior: native. I unset it as well as from my understanding, from the documentation I am not concerned with deep merging. I just want to be able to specify two non-colliding

Re: [Puppet Users] Hiera Hash Merge Issues

2016-06-03 Thread Dan White
UNless the hiera.yaml you provided is incomplete, you did not tur on deep merging. https://docs.puppet.com/hiera/3.1/configuring.html#deepmergeoptions Dan White | d_e_wh...@icloud.com “Sometimes I think the surest sign that intelligent life

Re: [Puppet Users] Hiera Hash Merge Issues

2016-06-03 Thread Leonard Smith
Deep gem is installed. However this should work with native correct if all I am looking to have it do is create both '/' and 'test' vhost, without ovverriding each other. On Friday, June 3, 2016 at 2:47:45 PM UTC-4, Peter Kristolaitis wrote: > > Did you install the deep_merge gem when using

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-03 Thread Dan White
First Silly Question: Why ? What do you need to do that cannot be done with the RPM's from a Puppetlabs repo ? Dan White | d_e_wh...@icloud.com “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none

Re: [Puppet Users] Hiera Hash Merge Issues

2016-06-03 Thread Dan White
Better suggestion. Thanks, Peter. Dan White | d_e_wh...@icloud.com “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” (Bill Waterson: Calvin & Hobbes) On Jun

Re: [Puppet Users] Hiera Hash Merge Issues

2016-06-03 Thread Peter Kristolaitis
Did you install the deep_merge gem when using the deeper merge option? The gem is required when using deep or deeper merging. On 2016-06-03 02:38 PM, Leonard Smith wrote: I've been trying to track down a problem with hiera_hash not merging. puppet-3.8.6-1.el7 hiera-1.3.4-1.el7 ##

Re: [Puppet Users] Hiera Hash Merge Issues

2016-06-03 Thread Dan White
Have you tried hiera command line debugging ? Dan White | d_e_wh...@icloud.com “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” (Bill Waterson: Calvin &

[Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-03 Thread Matt Larson
I'm trying to create an RPM from source on a stock RHEL6-based (CentOS6) instance, but I'm seeing errors. I also posted in https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/ The output actually gets pretty far along, but stops at with

[Puppet Users] Hiera Hash Merge Issues

2016-06-03 Thread Leonard Smith
I've been trying to track down a problem with hiera_hash not merging. puppet-3.8.6-1.el7 hiera-1.3.4-1.el7 ## hiera.yaml :hierarchy: - test - common ## test.yaml --- rabbitmq_profile::vhosts: 'test' : ensure: present ## common.yaml --- rabbitmq_profile::vhosts: '/' : ensure:

Re: [Puppet Users] PuppetDB Query based on facts

2016-06-03 Thread Mike Sharpton
I was messing around in psql to see if I could figure out the table structure and just query without the API wrapper, I couldn't before you replied. Price is right losing horn. On Friday, June 3, 2016 at 1:37:59 PM UTC-5, Mike Sharpton wrote: > > Doh! Quotes matter, didn't think of it. That

Re: [Puppet Users] PuppetDB Query based on facts

2016-06-03 Thread Mike Sharpton
Doh! Quotes matter, didn't think of it. That appears to work, I grepped and piped and have my list. Thanks very much again, you have saved me work twice now. Mike On Friday, June 3, 2016 at 12:43:17 PM UTC-5, Wyatt Alt wrote: > > Mike, > > Where I was going with that is you might get

[Puppet Users] Announce: Puppet Agent 1.5.1 available

2016-06-03 Thread Stefan Heijmans
Hi Eric, Think you ment these release notes: https://docs.puppet.com/puppet/latest/reference/release_notes_agent.html Stefan -- 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,

Re: [Puppet Users] PuppetDB Query based on facts

2016-06-03 Thread Mike Sharpton
Yep, the value of my fact is a string. I will keep googling around to see what I can find. Thanks, Mike On Friday, June 3, 2016 at 11:31:28 AM UTC-5, Wyatt Alt wrote: > > Hey Mike, > > I think operatingsystemmajrelease might be a string instead of an int, > based on

Re: [Puppet Users] PuppetDB Query based on facts

2016-06-03 Thread Wyatt Alt
Mike, Where I was going with that is you might get results with curl -X GET http://localhost:8080/pdb/query/v4/nodes -d 'query=["and", ["=", ["fact", "operatingsystemmajrelease"], "7"], ["=", ["fact", "facta"], "true"]]' or curl -X GET http://localhost:8080/pdb/query/v4/nodes -d 'query=["and",

[Puppet Users] Announce: Puppet Agent 1.5.1 available

2016-06-03 Thread Eric Sorenson
Puppet Agent 1.5.1 is now available. This is a bugfix release that includes Puppet and Facter versions with a handful of fixes; no other components are update from the Puppet Agent 1.5.0 release a couple of weeks ago. Notably, a couple of erroneous facts on Solaris are now correct

Re: [Puppet Users] PuppetDB Query based on facts

2016-06-03 Thread Mike Sharpton
Wyatt, Thanks for your reply. I changed out my url and facta to my fact name, nothing is returned except this. [ ] To ensure it wasn't my fact that was messing this up, I tried another standard fact is_pe. The value should be uppercase "False" but this returns a 500 when run that post/GET.

Re: [Puppet Users] PuppetDB Query based on facts

2016-06-03 Thread Wyatt Alt
Hey Mike, I'm thinking you want something like this: curl -X GET http://localhost:8080/pdb/query/v4/nodes -d 'query=["and", ["=", ["fact", "operatingsystemmajrelease"], 7], ["=", ["fact", "facta"], true]]' Wyatt On Fri, Jun 3, 2016 at 6:40 AM, Mike Sharpton wrote: > Hey

Re: [Puppet Users] Puppet-in-Docker

2016-06-03 Thread Rich Burroughs
I was starting to play around with rolling my own puppetserver container a few weeks ago and I was wondering if there would ever be an official one. So thanks for reading my mind :) Rich On Fri, Jun 3, 2016 at 6:23 AM Gareth Rushgrove wrote: > Hi All > > A few folks

[Puppet Users] PuppetDB Query based on facts

2016-06-03 Thread Mike Sharpton
Hey all, I am trying to do what should be a simple thing. I need to query PuppetDB to gather a list of machines based on arbitrary facta being equal to true and the operatingsystemmajrelease fact being 7. I have searched around and found a few examples, but can't get them to work properly.

[Puppet Users] Puppet-in-Docker

2016-06-03 Thread Gareth Rushgrove
Hi All A few folks might have seen this yesterday, but just in case. https://puppet.com/blog/puppet-docker-running-puppet-container-centric-infrastructure I've been working on a set of Docker images for running Puppet software, so Puppet Server, PuppetDB, etc. The blog post above covers why and

Re: [Puppet Users] Re: not able to sign the certificate of puppet master

2016-06-03 Thread Lowe Schmidt
Vivek, the solution is already in this thread. Read jcbollingers answer -- Lowe Schmidt | +46 723 867 157 On 3 June 2016 at 09:25, Vivek Mishra wrote: > Hi John, > > I am facing a similar type of error. Can you help me. > > sudo puppet agent -tWarning: Unable to fetch

Re: [Puppet Users] How to access $facts['os'] in a manifest

2016-06-03 Thread Marc Haber
On Thu, Jun 02, 2016 at 06:10:42PM +0200, Henrik Lindberg wrote: > With future parser you can do: > > notice($os =~ Hash) > > Which will notice 'true' if $os is a hash $ sudo puppet apply -e '$hmpf=is_hash($os) notify{"foo ${hmpf}":}' Notice: Compiled catalog for hostname in environment

[Puppet Users] Re: not able to sign the certificate of puppet master

2016-06-03 Thread Vivek Mishra
Hi John, I am facing a similar type of error. Can you help me. sudo puppet agent -tWarning: Unable to fetch my node definition, but the agent run will continue:Warning: getaddrinfo: Name or service not knownInfo: Retrieving pluginfactsError: /File[/var/lib/puppet/facts.d]: Failed to generate