theforeman / theforeman/puppet-puppet
systemd_enabled true while runmode cron
Nobody has claimed this yet.
- Dominant language
- Puppet
- Stars
- 97
- Forks
- 243
- Avg merge
- 8h 17m
- Merged PRs (30d)
- 1
Description
Hello,
i found in manifests/agent/service.pp that $systemd_enabled is FALSE when runmode = cron.
it would be nice to have the possibility to put $systemd_enabled = true AND runmode = cron because in this way, when a machine boot after a period of maintenance, puppet apply its new profile at boot time without waiting that the cron runs. And puppet itself stops the daemon so it will run again by the cron from that time.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with manifests/agent/service.pp and inspect how systemd_enabled is currently tied to runmode cron. Make the requested combination possible while preserving the behavior that the daemon is stopped and resumed through cron, then verify the manifest still applies correctly.
Written by the indexing model from the issue text.
Assessment
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100