Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do we configure this module for someone new to puppet #88

Closed
linuxcube opened this issue Jun 15, 2018 · 6 comments · Fixed by #96
Closed

How do we configure this module for someone new to puppet #88

linuxcube opened this issue Jun 15, 2018 · 6 comments · Fixed by #96
Labels

Comments

@linuxcube
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: Puppet 5.5
  • Ruby:
  • Distribution: RedHat Eterprise Linux 6,7
  • Module version:

How to reproduce (e.g Puppet code you use)

What are you seeing

What behaviour did you expect instead

Output log

Any additional information you'd like to impart

@vidkun
Copy link

vidkun commented Jul 25, 2018

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.

@dhollinger
Copy link
Member

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+.

@hdep
Copy link
Contributor

hdep commented Sep 1, 2018

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 ?

@dhollinger
Copy link
Member

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.

@hdep
Copy link
Contributor

hdep commented Sep 4, 2018

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.

@vidkun
Copy link

vidkun commented Sep 4, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants