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 to enable/start parameterized timers? #133

Closed
kasimon opened this issue Jan 7, 2020 · 2 comments
Closed

How to enable/start parameterized timers? #133

kasimon opened this issue Jan 7, 2020 · 2 comments
Labels

Comments

@kasimon
Copy link

kasimon commented Jan 7, 2020

If I'm not mistaken there currently is no support for parameterized timer units, at least I have not found a way to model the result of these commands with the module:

systemctl enable borgwrapper-backup@<config_name>.timer
systemctl start borgwrapper-backup@<config_name>.timer

Could this be added or the documentation improved if this is already supported?

@traylenator
Copy link
Contributor

traylenator commented Oct 23, 2020

service{'borgwrapper-backup@foo.timer':
  ensure => true,
  enable => true,
}

works.

@kasimon
Copy link
Author

kasimon commented Nov 4, 2020

@traylenator You are totally right. I had found out it in the meantime myself but forgot about this issue. Thanks!

@kasimon kasimon closed this as completed Nov 4, 2020
op-ct pushed a commit to op-ct/puppet-systemd that referenced this issue Jun 17, 2022
modulesync 2.7.0 and drop puppet 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants