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

Missing dependency on logrotate module #5

Open
htj opened this issue Jan 3, 2019 · 1 comment
Open

Missing dependency on logrotate module #5

htj opened this issue Jan 3, 2019 · 1 comment

Comments

@htj
Copy link

htj commented Jan 3, 2019

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.5.8
  • Ruby: ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
  • Distribution: Ubuntu 18.04
  • Module version: 0.3.0

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

class { '::nsd':
logfile => '/var/log/nsd.log',
...
}

AFAICT the logrotate module is only needed of logfile is specified.

What are you seeing

Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'logrotate::rule' (file: /tmp/puppet/modules/nsd/manifests/init.pp, line: 129, column: 5) on node ...

What behaviour did you expect instead

Output log

Any additional information you'd like to impart

At least a note on the logfile option, that is triggers a dependency on logrotate.

@b4ldr
Copy link
Contributor

b4ldr commented Feb 8, 2019

Thanks you for the bug report i have added logrotate to the dependencies and created version 0.3.2

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

No branches or pull requests

2 participants