I have a very strange issue with Puppet 2.7.18 (on a Raspberry Pi) that started all of the sudden. In simple terms, the agent only partially follows the 'server' directive in
The following works:
$ sudo puppet agent -t --server my.puppet.server
but, if i instead set it in
puppet.conf, it doesn't seem to follow it.
$ grep server /etc/puppet/puppet.conf server=my.puppet.server
I even confirmed it with the genconfig variable, which appears to agree with the fact that it is properly configured:
$ sudo puppet agent --configprint server my.puppet.server
The strange part is that when I'm running it without the explicit server argument, I get the following error repeated:
$ sudo puppet agent -t [...] err: /Stage[main]/MyModule::Puppet/File[some_file.sh]: Could not evaluate: getaddrinfo: Name or service not known Could not retrieve file metadata for puppet:///modules/MyModule/some_file.sh: getaddrinfo: Name or service not known at /etc/puppet/modules/MyModule/manifests/another_file.pp:31 [...] err: Could not send report: getaddrinfo: Name or service not known
Can anyone offer any kind of insight or explanation to why such behavior would happen?