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

Allow setting cron target #845

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

yakatz
Copy link

@yakatz yakatz commented Aug 17, 2022

For example, this is useful if you have /var/spool/cron mounted over NFS and use the -c option which would mean Puppet cronjobs would not run on other machines.

yakatz and others added 2 commits August 17, 2022 17:04
For example, this is useful if you have `/var/spool/cron` mounted over NFS and use the `-c` option which would mean Puppet cronjobs would not run on other machines.
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll have a look at the failing tests first.

it { is_expected.to contain_class('puppet::agent::service::systemd').with_enabled(false) }
it { is_expected.to contain_service('puppet-run.timer').with_ensure(false) }
it do
is_expected.to contain_cron('puppet')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this also have the with_target()?

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

Successfully merging this pull request may close these issues.

3 participants