Comments (10)
Which version of this module is it?
from puppet-rsyslog.
Getting the same issue on 2.4.0 and master.
This is with the following enabled on the client
trusted_node_data = true
stringify_facts = true
parser = future
strict_variables = true
Without the above I get the following
Stderr from the command:
Error: Failed to parse template rsyslog/rsyslog.conf.erb:
Filepath: /tmp/vagrant-puppet-1/modules-0/rsyslog/templates/rsyslog.conf.erb
Line: 7
Detail: undefined method `each' for nil:NilClass
on node solr.localdomain
Error: Failed to parse template rsyslog/rsyslog.conf.erb:
Filepath: /tmp/vagrant-puppet-1/modules-0/rsyslog/templates/rsyslog.conf.erb
Line: 7
Detail: undefined method `each' for nil:NilClass
on node solr.localdomain
This seems to be because of strict_variables being enabled more than anything else (it never tries to render the template as the values being empty trigger the strict variables error).
from puppet-rsyslog.
Please give v3.1.0 a try and report, if the problem still exists.
from puppet-rsyslog.
I'm running into the same issue with Puppet 3.5.x. I was able to get around it by making several modifications to the manifests.
For example, in config.pp
, I added a parameter for modules
. I also had to change the custom_config
parameter in client.pp
to ''
.
I was able to get this module working after those changes, but I don't know why these issues appeared after upgrading to 3.5.x.
from puppet-rsyslog.
This should be fixed in master.
from puppet-rsyslog.
This problem is caused by parser = future a puppet.conf setting
Any chance to push this fixed version to forge.puppetlabs.com?
from puppet-rsyslog.
Right, it's caused by the future parser, but can also be fixed by setting evaluator = current
while keeping the future parser on.
from puppet-rsyslog.
unfortunately evaluator = current doesn't help, have received the following error:
Error: Failed to parse template rsyslog/rsyslog.conf.erb:
Filepath: /etc/puppet/modules/rsyslog/templates/rsyslog.conf.erb
Line: 7
Detail: undefined method `each' for nil:NilClass
at /etc/puppet/modules/rsyslog/manifests/config.pp:28 on node
from puppet-rsyslog.
anyone a found a solution to this "NilClass" problem?
from puppet-rsyslog.
having same issue on PE 2015.3 (puppet server 4.2.1)
this is only for this node, other nodes are working. Hiera looks ok for this node as well, I can pull out values from hiera cmd line
root@ubudevbox:/etc/puppetlabs/code# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, undefined method `empty?' for nil:NilClass at /etc/puppetlabs/code/environments/production/manifests/site.pp:43:1 on node ubudevbox
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
from puppet-rsyslog.
Related Issues (20)
- How does rsyslog::snippet work with Hiera?
- How does ' if scope.lookupvar ' ? HOT 1
- Parameterize "RSYSLOGD_OPTIONS" in rsyslog_default.erb
- Parameterize 'auth,authpriv.*' in local.conf.erb
- Permission file in server
- Kernel logging (proc) stopped after using this plugin on CentOS 6.9
- Fact for determining rsyslog version needlessly increases runtime by 1 second on RHEL HOT 3
- Prevent double-logging
- [req] Make ActionResumeRetryCount value a parameter
- Is this module dead? HOT 8
- [req] Support purge_ignore parameter to whitelist files from rsyslog.d's purging HOT 2
- Remote logging to multiple servers should specify multiple queues HOT 1
- Monitoring rsyslog via nagios checks
- New puppet forge release HOT 13
- Binding rsyslogd to specific ip address is not working HOT 1
- Purge directory suddently appearing HOT 1
- Nested variables in rsyslog_default.erb cause failure in rsyslog startup
- RHEL 7 support: Why is both imuxsock and imjournal enabled? HOT 1
- $max_message_size default should be 8k nowadays
- disable_xconsole missing r10k
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-rsyslog.