We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
systemd::timer { 'foo.timer': ensure => $foo, timer_source => "puppet:///modules/${module_name}/foo.timer", service_content => template("${module_name}/foo.service.erb"), active => true, enable => true, require => File[$foo_command] }
When $foo are absent then this error:
Evaluation Error: Error while evaluating a Function Call, Can't ensure the unit file is absent and activate/enable the service at the same time
simple that when $foo are absent, that the timner+server are removed and the other options are ignored.
The text was updated successfully, but these errors were encountered:
This has been done deliberately:
#122
ambition is to stop the service before the unit file is removed so forcing you to specify stop on unit removal makes sense.
Sorry, something went wrong.
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
When $foo are absent then this error:
What behaviour did you expect instead
simple that when $foo are absent, that the timner+server are removed and the other options are ignored.
The text was updated successfully, but these errors were encountered: