[Puppet Users] Hiera hierarchy question

2014-05-10 Thread twm139
I have the following Hiera.yaml --- :backends: - yaml :hierarchy: - defaults - "%{clientcert}" - "%{environment}" - "users/%{usertype}" - global :yaml: :datadir: The usertype variable is defined in my Foreman parameters and is different for each host group type. The idea is that

[Puppet Users] Re: Hiera.yaml not interpolate variables

2014-05-10 Thread twm139
Try something more like...need quotes afaik. --- :backends: - yaml :hierarchy: - defaults - "%{clientcert}" - "%{environment}" - "users/%{usertype}" - global On Thursday, May 8, 2014 8:21:08 AM UTC-7, Israel Calvete wrote: > > Hi, > > This is my hiera config. > > *---* > *:backends:

[Puppet Users] Re: Error 400 on SERVER: no 'environments' in {:root_environment=>#

2014-05-08 Thread twm139
Check your config.ru and make sure it is correct and in the right location. I had an old one from Foreman there and that was breaking the system apparently. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and st

[Puppet Users] Re: Error 400 on SERVER: no 'environments' in {:root_environment=>#

2014-05-08 Thread twm139
I have this exact same problem with a fresh install and passenger. I am kinda happy someone else has seen this issue, though I wish I knew why it was. ]# curl -k -H "Content-Type:application/json" -H "Accept:application/json" https://puppet.t2.ucsd.edu:8140/puppet/environments no 'environments

[Puppet Users] Re: Error on my puppet Agent

2014-05-07 Thread twm139
On Wednesday, May 7, 2014 1:31:03 PM UTC-7, twm...@gmail.com wrote: > > Hi, > > I am very new to Puppet. I am running 3.5.1 via Foreman proxy. > > I unfortunately getting the following error on my client when I attempt to > register its cert with the master. > > # puppet agent --server myse

[Puppet Users] Error on my puppet Agent

2014-05-07 Thread twm139
Hi, I am very new to Puppet. I am running 3.5.1 via Foreman proxy. I unfortunately getting the following error on my client when I attempt to register its cert with the master. # puppet agent --server myserver.domain --waitforcert 60 --test Error: Could not request certificate: Error 400 o