[Puppet Users] puppet agent gives error undefined method `empty?' for nil:NilClass

2014-02-25 Thread Tom Hanstra
I have a puppet master which has over 50 puppet agents talking to it just fine. But I have one particular server on which the agent, after connecting and exchanging keys, gives the following error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `emp

Re: [Puppet Users] hiera oddities

2013-09-30 Thread Tom Hanstra
Pete: Thanks for pointing this out as well. It explains some things that were confusing me about how I was using hiera. I appreciate the information. Tom On Saturday, September 28, 2013 7:16:00 AM UTC-4, Peter Meier wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > My current

[Puppet Users] Re: hiera oddities

2013-09-30 Thread Tom Hanstra
value[0]). > > On Friday, September 27, 2013 9:32:12 AM UTC-7, Tom Hanstra wrote: >> >> I'm having a real trouble getting hiera to work as expected. >> >> My current setup has a puppet master and an agent. On both I have the >> same /etc/hiera.yaml file linked i

[Puppet Users] hiera oddities

2013-09-27 Thread Tom Hanstra
I'm having a real trouble getting hiera to work as expected. My current setup has a puppet master and an agent. On both I have the same /etc/hiera.yaml file linked into the /etc/puppet directory. I've also been able to confirm that hiera is seeing the right json files in /var/lib/hiera. What

[Puppet Users] Re: file_line assistance

2013-07-31 Thread Tom Hanstra
Well, the hostname was the problem. That never tripped me up before, but I'll keep it in mind for future reference! Thanks, Tom On Tuesday, July 30, 2013 5:24:41 PM UTC-4, Tom Hanstra wrote: > > I'm running puppet 3.2.3 with the current (4.1.0) stdlib set from > puppetlabs.

[Puppet Users] Re: file_line assistance

2013-07-31 Thread Tom Hanstra
On Tuesday, July 30, 2013 5:24:41 PM UTC-4, Tom Hanstra wrote: > > I'm running puppet 3.2.3 with the current (4.1.0) stdlib set from > puppetlabs. > > I'm attempting to use file_line to add a line to a file. I've dumbed this > down to basically the test script:

[Puppet Users] file_line assistance

2013-07-30 Thread Tom Hanstra
I'm running puppet 3.2.3 with the current (4.1.0) stdlib set from puppetlabs. I'm attempting to use file_line to add a line to a file. I've dumbed this down to basically the test script: class hs_puptest1 { file { '/tmp/testfile': ensure => present }-> file_line { 'test_line':

[Puppet Users] Re: Puppet3 key exchange on RHEL6

2013-07-30 Thread Tom Hanstra
This can all safely be ignored. A reboot of both the master and agent servers was able to clear things up. I'm not sure if the times were slightly off or something else, but rebooting took care of things. Tom On Tuesday, July 30, 2013 4:00:27 PM UTC-4, Tom Hanstra wrote: > > I&#

[Puppet Users] Puppet3 key exchange on RHEL6

2013-07-30 Thread Tom Hanstra
RHEL6 servers? I had no trouble with puppet 2.6 but am running into other problems there with older versions of puppet, so I wanted to get puppet3 running. But I seem to have hit a wall. Thanks, Tom Hanstra hans...@nd.edu -- You received this message because you are subscribed to the Google Groups