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

2015-08-10 Thread Gregory Orange
Hi Patrick, On 10/08/15 17:10, Patrick G. wrote: parameters: sudoroles: 'root_users' sudoroles: 'dba_users' That reads to me like you've overwritten the first sudoroles value with the second entry. If you want both, it would need to be e.g. an array: parameters: sudoroles: - 'ro

Re: [Puppet Users] PuppetDB module errors and frustrations...

2015-08-10 Thread Stack Kororā
Now that I have a working example to figure out what puppetdb is doing, I was able to figure out the other issues with ssl and connections. Thanks again!! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop

Re: [Puppet Users] Help with NTP module provided by puppetlabs

2015-08-10 Thread Richard Gray
On 10/08/15 20:12, Martin Alfke wrote: You need to create a hiera.yaml config file. The config file may look like this: :backends: - yaml :yaml: :datadir: ‘/etc/puppet/data’ :hierachy: - “nodes/#{::certname}” - “location/#{::timezone}” - global Further to Martin's comment, yo

Re: [Puppet Users] PuppetDB module errors and frustrations...

2015-08-10 Thread Stack Kororā
On Monday, August 10, 2015 at 3:23:46 PM UTC-5, Christopher Wood wrote: > > I haven't set up puppetdb with the puppetlabs-puppetdb forge module in > over 18 months, but depending on your module version you may need to tweak > parameters. Quoth: > > "The PuppetDB module now supports PuppetDB 3.0.

Re: [Puppet Users] PuppetDB module errors and frustrations...

2015-08-10 Thread Christopher Wood
I haven't set up puppetdb with the puppetlabs-puppetdb forge module in over 18 months, but depending on your module version you may need to tweak parameters. Quoth: "The PuppetDB module now supports PuppetDB 3.0.0 by default... If you want to use 5.x of the module with PuppetDB 2.x, you'll need

[Puppet Users] PuppetDB module errors and frustrations...

2015-08-10 Thread Stack Kororā
Greetings, I am really stuggling here and would love another set of eyes. After a failed attempt to migrate to Puppet 4 (my crappy modules need more work then I have time for), I went back to Puppet 3. Only this time, I have the chance to improve upon where things went wonky last time. The pla

[Puppet Users] Environments by facter

2015-08-10 Thread mahmed
Hi, Need some help, currently have puppet setup with custom fact defined as like below, what i want to do is setup my environments in puppet based on this custom fact, how easily can i do this, anyone? Facter.add('web_environment') do setcode do case Facter.value(:hostname) when /host

[Puppet Users] Puppet agent certs: do they live in /etc/puppet/ssl or /var/lib/puppet/ssl?

2015-08-10 Thread Graham Leggett
Hi all, I have been trying to configure a number of puppet agents with certificates and keys that are pregenerated. In theory, this means putting the certs in the right place and starting puppet agent. In practise this seems to be hard. After installing the "puppet" v3.4.3 package on ubuntu 14

Re: [Puppet Users] Re: Array of tags not applying to resource

2015-08-10 Thread jcbollinger
On Friday, August 7, 2015 at 5:04:42 PM UTC-5, robert.davidson wrote: > > So there's no way to apply more than one tag to something at a time and > have it actually act as if they are single tags? > > Therefore, this exported resource: > @@module::hostentry{ $::fqdn: >tag => [$::fqdn, $::

[Puppet Users] upgrade to 3.8

2015-08-10 Thread max scalf
Hello all, I am intrested in upgrading puppet to 3.8.2 and currently on 3.3.1 and looks like i will first have to go to 3.3.2 and then to 3.8. Below are some of the links that i am following...but any time i click on upgrade links("Read the docs") it takes me to the version called "2015.2"...

Re: [Puppet Users] puppetlabs-firewall and removing a parameter

2015-08-10 Thread Matthias Saou
Hi, So... no answers... bug report filed! :-) https://tickets.puppetlabs.com/browse/MODULES-2376 Matthias On Mon, 3 Aug 2015 13:26:07 +0200 Matthias Saou wrote: > Hi, > > I had this applied to my nodes : > > firewall { "${prenumber}7 portknock let connections through": > action => '

[Puppet Users] Help with hiera.yaml config

2015-08-10 Thread Patrick G.
Hi, I have the following config. :backends: - yaml :yaml: :datadir: /etc/puppet/hieradata :hierarchy: - nodes/%{::fqdn} - sudoroles/%{::sudoroles} - common In sudorules I have twho files with root users en dba users. On a server I want both root users and dba users and on the other s

[Puppet Users] Help with hiera.yaml config

2015-08-10 Thread Patrick G.
Hi, I have the following config. :backends: - yaml - json :yaml: :datadir: /etc/puppet/hieradata :hierarchy: - nodes/%{::fqdn} - sudoroles/%{::sudoroles} - common In sudorules I have twho files with root users en dba users. On a server I want both root user and dba user and on the

Re: [Puppet Users] Help with NTP module provided by puppetlabs

2015-08-10 Thread Martin Alfke
On 10 Aug 2015, at 09:54, Eddie Mashayev wrote: > Hi Martin, > > Thanks for the help. I used the second approach. > > 1) I’ve created custom fact to identify the server location (I’m using the > timezone fact) – Now I’m able to identify all my servers by location. > 2) I’m not sure about t

Re: [Puppet Users] Help with NTP module provided by puppetlabs

2015-08-10 Thread Eddie Mashayev
Hi Martin, Thanks for the help. I used the second approach. 1) I’ve created custom fact to identify the server location (I’m using the timezone fact) – Now I’m able to identify all my servers by location. 2) I’m not sure about the second part “put ntp::servers into the appropriate hiera data

Re: [Puppet Users] Cannot schedule without a schedule-containing catalog

2015-08-10 Thread Julien Pivotto
On Mon, Aug 10, 2015 at 08:44:33AM +0200, Julien Pivotto wrote: > Hi all, > > Giving the following code: > > https://github.com/Inuits/puppet-acl/commit/7bf09e329dc08641089780f0104b9b93101f8ddc > > My questions: > > 1. Why do I get those "Cannot schedule without a schedule-containing catalog"