[Puppet Users] Re: Load balancing Puppet Server

2015-05-13 Thread Stefan Wiederoder
Hello Joao, sorry - no help, but I'm also looking for a puppet server 2.x howto about centralizing the CA. I'm currently using mod_proxy/mod_passenger with an F5 loadbalancer in front of two servers. I'd be nice if puppetlabs would provide such an howto, it´d help/speedup puppetserver adoption

[Puppet Users] Registering a puppet agent node with alternate short hostname or alias

2015-05-13 Thread Anil Aix
We were trying to register gcloud instances to puppet master, but the instance names are very long with uc1f-coster-xxx02.c.xxxa--xx0.internal Is it possible to register these nodes with a short hostname or an alias...?, I tried adding below line in /etc/puppet/puppet.cong of client. dns_alt

Re: [Puppet Users] Registering a puppet agent node with alternate short hostname or alias

2015-05-13 Thread Rilindo Foster
By default, the certname is the fully qualified domain. You can change it via the node_name_value or node_name_fact; however, you need to have a very good reason to change the settings before you move forward with it. https://docs.puppetlabs.com/references/latest/configuration.html#certname -

Re: [Puppet Users] client certificate issue

2015-05-13 Thread Felix Frank
Hi, there really is no way for the master to tell directly. The best approach is to enable storing of reports (e.g. in PuppetDB) so that you can monitor agent operation. Afflicted agents do not run and do not report. Tools like Puppet Explorer can indicate this to you very directly. HTH, Felix

Re: [Puppet Users] Preserving single quotes

2015-05-13 Thread Felix Frank
On 05/05/2015 08:25 PM, Marcos Renato wrote: > Hi > > how to add this command line (alias ls='ls --color=auto') to a file > preserving single quotes? > > Thanks, > > Marcos Are you trying to pass this through the content property? -- You received this message because you are subscribed to th

Re: [Puppet Users] Hiera single key/value lookup and create_resources for augeas

2015-05-13 Thread Felix Frank
Well you will have to devise a defined type that takes the variable name as the resource title, and the value as an argument. Data structure has to be my_variables: my_project1: var1: value: value1 var2: value: value2 Then the my_project1 hash is eligible for use with c

Re: [Puppet Users] Re: Load balancing Puppet Server

2015-05-13 Thread Christopher Wood
I presume one of the hosts is still the puppetmaster, I took the tack of using a separate virtual server and pool for the CA. All hosts get catalog requests but all hosts are configured to use the CA virtual server for CA work. On Wed, May 13, 2015 at 02:28:26AM -0700, Stefan Wiederoder wrote: >

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-13 Thread Jim Miller
Done anyone have any thoughts on this? On Friday, May 8, 2015 at 2:23:27 PM UTC-5, Jim Miller wrote: > > Hi all, > > Just upgraded from 3.4.something to 3.7.5 and it seems how we were doing > environments is depreciated. I've followed a couple of docs* for how to do > this but seem to be miss

[Puppet Users] Puppet Dashboard on Centos 7

2015-05-13 Thread Gabriele Angeli
Hi guys, I tried to install puppet dashboard on Centos 7. I installed the right repository for Centos 7 (puppetlabs.repo) but when I launch the command "yum install puppet-dashboard" the result is the following: *No package puppet-dashboard available.* *Error: Nothing to do* Someone can he

[Puppet Users] Anyone really using Postgres for a Hiera backend?

2015-05-13 Thread leam hall
Just wondering. I found some options but don't see any under current development. Leam -- Mind on a Mission -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving ema

Re: [Puppet Users] Puppet Dashboard on Centos 7

2015-05-13 Thread Ramin K
On 5/13/15 9:16 AM, Gabriele Angeli wrote: Hi guys, I tried to install puppet dashboard on Centos 7. I installed the right repository for Centos 7 (puppetlabs.repo) but when I launch the command "yum install puppet-dashboard" the result is the following: *No package puppet-dashboard availabl

Re: [Puppet Users] Puppet Dashboard on Centos 7

2015-05-13 Thread Ramin K
On 5/13/15 10:22 AM, Ramin K wrote: Centos shops 2.0 argh. Centos 7 ships 2.0 -- 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 email to puppet-users+unsubscr...@googleg

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-13 Thread ess
We are using PE 3.7.2 with r10k, so I don't know how specifically useful this will be, but PE requires the use of basemodulepath. https://docs.puppetlabs.com/puppet/latest/reference/config_file_environment.html puppet.conf on master: [main] basemodulepath = /etc/puppetlabs/puppet/modules:/o

[Puppet Users] Re: Puppet Environments change after upgrading to 3.7.5

2015-05-13 Thread ess
Re-sending after reading your situation more carefully. We are using PE 3.7.2 with r10k and directory environments, so I don't know how specifically useful this will be since you're still using config environments. Directory environments / PE use basemodulepath now (I'm not sure about config e

[Puppet Users] Converring floating point to integer

2015-05-13 Thread Bob Vergeer
It seems that this should be easy but I just can't seem to figure it out. The goal is to calculate memory size for a /dev/shm entry in the fstab and add an 'M' to the resulting variable. Something like $shm = $memorysize_mb - 1024 file_line { 'shm': line => 'non -- You received this mes

[Puppet Users] Convert Floating point to integer

2015-05-13 Thread Bob Vergeer
Two issues, removing the decimal places and appending a character. Trying to generate a /dev/shm line in /etc/fstab that is set to 1G less than available RAM. The line should appear as follows in /etc/fstab: ... none /dev/shm tmpfsrw,exec,size=2048M0 0 ... 1) How do I convert

Re: [Puppet Users] Anyone really using Postgres for a Hiera backend?

2015-05-13 Thread Martin
Funny, I'd rather ask: is anyone *not* using Postgres? On Wed 13 May 2015 at 18:45 leam hall wrote: > Just wondering. I found some options but don't see any under current > development. > > Leam > > > -- > Mind on a Mission > > -- > You received this message becaus

[Puppet Users] error message when I tried to run puppet and apply changes to the system

2015-05-13 Thread Chris Zou
I am new to Puppet, and I am trying to follow Quest Learning Machine from Puppet Lab. However, every time I tried to run puppet apply cowsayings/tests/cowsay.pp Error message comes up like this: Warning: The package type's allow_virtual parameter will be changing its default value from fal

[Puppet Users] error when I run puppet and try to apply changes to the system

2015-05-13 Thread Chris Zou
Hi, I am new to puppet and I am trying to follow Quest Guide and its VM Learning Machine. When I run puppet apply cowsayings/tests/cowsay.pp, I encounter error message as following: Warning: The package type's allow_virtual parameter will be changing its default value

[Puppet Users] Re: Local Module installation via r10k - puppet ....Help Needed

2015-05-13 Thread Anderson Mills
Vijayabalan, So the Puppetfile for r10k is not the same as for Librarian-puppet, and there is no :path key for a mod in r10k. You'll either have to keep them in a repo and specify a :git key, or pull them from the forge. Docs for r10k's use of Puppetfile! https://docs.puppetlabs.com/pe/latest

[Puppet Users] Upgrade puppetdb goes wrong

2015-05-13 Thread Arpin Dominique (Nter)
Hi, Here my setup : puppetdb-terminus-2.2.2-1.el6.noarch puppetdb-2.2.2-1.el6.noarch postgresql93-libs-9.3.6-1PGDG.rhel6.x86_64 postgresql93-server-9.3.6-1PGDG.rhel6.x86_64 postgresql93-contrib-9.3.6-1PGDG.rhel6.x86_64 postgresql93-9.3.6-1PGDG.rhel6.x86_64 Centos 6.6 I try to upgrade to the lates

[Puppet Users] New MCollective Plugin for OpenSCAP Scanning

2015-05-13 Thread Trevor Vaughan
Hi All, I presented a piece on a proof of concept that I put together to perform OpenSCAP scans against systems using MCollective. I thought that some of you might be interested. The relevant information is all linked from my post at http://www.onyxpoint.com/distributed-openscap-scanning-with-mco

[Puppet Users] Learning Custom Types Module

2015-05-13 Thread Trevor Vaughan
Hi All, Yesterday, while at Puppet Camp DC, I pushed a module to the forge that's meant for learning the execution flow of custom types and providers. You can download it from the forge using 'puppet module install onyxpoint-learning_custom_types' or you can fork it on GitHub at https://github.co