Comments (6)
I did have some trouble too.
I reproduce the default debian 9 configuration with Hiera, maybe I can PR in order to add it to the folder examples ?
from puppet-rsyslog.
yeah I am not familier with rainerscript format because by default debian uses what you call legacy format.
To be honest I expect when I use a puppet module from scratch to reproduce the default configuration as the one from the package this avoid confusion imho.
from puppet-rsyslog.
Good question.
I've been fighting to get it to configure a simple udp listener to dump remote logs into files by ip. Even with the new "simpler" Rainerscript format, the manual implementation is rather straightforward and easy.
Yet I still can't figure out how to make this module do it.
from puppet-rsyslog.
Are there specific examples of what you are looking for? The readme docs are pretty straightforward, but do assume that you are familiar with Puppet, Hiera, and Rsyslog 8+.
from puppet-rsyslog.
The key is that the module does assume that the user is quite familiar with Rsyslog 8.x configuration. Both the rainerscript format and the legacy format.
We do offer a hash called custom_config
that allows you to pass a straight string into the template and generate config that way. It was put in to cover use-cases that don't fit what the code currently supports.
from puppet-rsyslog.
Same here. Limited exposure to rainerscript and as of 7.4, RHEL is still using "legacy" format.
I'd expect module documentation to at least describe how to recreate the default config.
from puppet-rsyslog.
Related Issues (20)
- Release summary for 5.0.1
- rsyslog::base does not restart service HOT 2
- Refactor acceptance tests HOT 2
- Handling permissions on startup HOT 7
- Rename legacy_config defined type and class
- Can't create an expressión filter with more than one 'else if' HOT 8
- Purging config files does not restart rsyslogd
- file backup is not working correctly when existing files exist HOT 5
- deprecated Object#=~ is called on - it always returns nil (Puppet 7.0+) HOT 2
- Support for Puppet 7+ HOT 1
- Question about OS-default configurations HOT 1
- [release] New tag to pull in latest changes HOT 1
- Using more than one config file in /etc/rsyslog.d/ HOT 2
- Config should be validated as correct before attempting to restart rsyslog.
- Configuration files do not identify themselves as "Managed by Puppet, do not edit." HOT 3
- Create option to configure action() on a single line.
- How do I use this?
- Allow puppetlabs-apt 9.x.x
- Global config issue in 7.0.0 HOT 2
- Missing restart of rsyslog service when the JSON lookup_table file is updated
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.