Re: [Puppet Users] Help with hiera.yaml config

2015-08-13 Thread Patrick G.
I've tried that also but then it's removing both entries. Op dinsdag 11 augustus 2015 03:28:12 UTC+2 schreef gregory...@calorieking.com: Hi Patrick, On 10/08/15 17:10, Patrick G. wrote: parameters: sudoroles: 'root_users' sudoroles: 'dba_users' That reads to me like

[Puppet Users] PuppetDB remote connection not working with CURL but working with openssl

2015-08-13 Thread Juan Sierra Pons
Hi, I am trying to query the puppetdb from a remote server using curl and https without success. I have already generated the certificates and move them the remote server. Using openssl all works ok First I launch the following command: openssl s_client -connect puppetdb:8081 -CAfile ca.pem

[Puppet Users] get data from yaml in subdirs

2015-08-13 Thread Patrick G.
Hi, Can someone please explain something. I have a hiera.yaml: --- :backends: - yaml :yaml: :datadir: /etc/puppet/hieradata :hierarchy: - usergroups/%{::usersgroups} - global global.yaml contains: --- test: Test_output When I do a: hiera -c /etc/puppet/hiera.yaml test I'll get:

Re: [Puppet Users] Help with hiera.yaml config

2015-08-13 Thread Patrick G.
What I have is: --- :backends: - yaml :yaml: :datadir: /etc/puppet/hieradata :hierarchy: - nodes/%{::fqdn} - usergroups/%{usergroups} --- classes: - colorprompt - ntp - motd - ssh - sudodba - sudoroot colorprompt::server_color: 'blue' parameters: usergroups: -

[Puppet Users] keep changing owner

2015-08-13 Thread Patrick G.
Hi, When running puppet agent -t I get Notice: /File[/var/lib/puppet/lib]/owner: owner changed 'puppet' to 'root' Notice: /File[/var/lib/puppet/lib]/group: group changed 'puppet' to 'root' And then Notice: /Stage[main]/My_fw/File[/var/lib/puppet/lib]/owner: owner changed 'root' to 'puppet'

[Puppet Users] Re: Help with hiera.yaml config

2015-08-13 Thread Patrick G.
What I have is: --- :backends: - yaml :yaml: :datadir: /etc/puppet/hieradata :hierarchy: - nodes/%{::fqdn} - usergroups/%{usergroups} --- classes: - colorprompt - ntp - motd - ssh - sudodba - sudoroot colorprompt::server_color: 'blue' parameters: usergroups: -

[Puppet Users] Re: PuppetDB remote connection not working with CURL but working with openssl

2015-08-13 Thread Juan Sierra Pons
The problem was between the seat and the keyboard :P I was using different ca names (ca_crt.pem != ca.pem) Now it works perfectly Best regard -- Juan Sierra Pons

[Puppet Users] Re: Help on puppet ERB template

2015-08-13 Thread jcbollinger
On Wednesday, August 12, 2015 at 8:52:50 AM UTC-5, b.gold...@gmail.com wrote: Hi Guys I am new to puppet and ruby. I am working on some erb template for ldap. Following is sample code % if TCPSocket.new(host1, 636) and TCPSocket.new(host2, 636) % host port 636 tls_checkpeer

[Puppet Users] Re: [Puppet-dev] Debian Testing and Debian Stable leaving apt.puppetlabs.com

2015-08-13 Thread Daniel Parks
On Thu, Aug 13, 2015 at 9:46 AM, Melissa Stone meli...@puppetlabs.com wrote: In an effort to reduce duplication and confusion in the packages we provide, we will no longer be providing packages for Debian Testing or Debian Stable. We want to ensure we deliver tested and reliable packages,

Re: [Puppet Users] Re: [Puppet-dev] Debian Testing and Debian Stable leaving apt.puppetlabs.com

2015-08-13 Thread Melissa Stone
On Thu, Aug 13, 2015 at 11:12 AM, Daniel Parks d...@puppetlabs.com wrote: On Thu, Aug 13, 2015 at 9:46 AM, Melissa Stone meli...@puppetlabs.com wrote: In an effort to reduce duplication and confusion in the packages we provide, we will no longer be providing packages for Debian Testing or

[Puppet Users] Re: Debian Testing and Debian Stable leaving apt.puppetlabs.com

2015-08-13 Thread Melissa Stone
On Thu, Aug 13, 2015 at 9:46 AM, Melissa Stone meli...@puppetlabs.com wrote: In an effort to reduce duplication and confusion in the packages we provide, we will no longer be providing packages for Debian Testing or Debian Stable. We want to ensure we deliver tested and reliable packages,

[Puppet Users] 2015.2 strange message

2015-08-13 Thread Vince Skahan
Spun up a 2015.2 system and every time an agent runs we see Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cache/lib/facter/portage.rb: cannot load such file -- facter/util/resolution. Any ideas ? I saw one bug report at

Re: [Puppet Users] 2015.2 strange message

2015-08-13 Thread Peter Huene
Hi Vince, On Thu, Aug 13, 2015 at 10:21 AM, Vince Skahan vinceska...@gmail.com wrote: Spun up a 2015.2 system and every time an agent runs we see Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cache/lib/facter/portage.rb: cannot load such file --

[Puppet Users] Mac Warranty Fact

2015-08-13 Thread Chase Thompson-Baugh
I stumbled on a Facter fact that was written by Gary Larizza back in 2011 (https://github.com/glarizza/puppetrepo/blob/master/modules/custom/lib/facter/warranty.rb) that checks the warranty on Mac computers. The warranty site it checks has changed significantly since then. Is anyone else using

[Puppet Users] Announce: PuppetDB 2.3.7 is available

2015-08-13 Thread Wyatt Alt
PuppetDB 2.3.7 August 13, 2015 PuppetDB 2.3.7 Downloads Available in native package format in the release repositories at: http://yum.puppetlabs.com and http://apt.puppetlabs.com For information on how to enable the Puppet Labs repos, see:

Re: [Puppet Users] 2015.2 strange message

2015-08-13 Thread Vince Skahan
I'm sorry but you're going to need to reparse that one into English. You want me to check for what (where?) and change what (where?) ? On Thursday, August 13, 2015 at 11:44:25 AM UTC-7, Peter Huene wrote: On Thu, Aug 13, 2015 at 10:21 AM, Vince Skahan vince...@gmail.com javascript: wrote:

[Puppet Users] Debian Testing and Debian Stable leaving apt.puppetlabs.com

2015-08-13 Thread Melissa Stone
In an effort to reduce duplication and confusion in the packages we provide, we will no longer be providing packages for Debian Testing or Debian Stable. We want to ensure we deliver tested and reliable packages, which includes deliberately adding new platforms that have been vetted. This change