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

Enhancement: have ability for per-profile interval timing #451

Open
MrCyrus opened this issue Mar 17, 2021 · 0 comments
Open

Enhancement: have ability for per-profile interval timing #451

MrCyrus opened this issue Mar 17, 2021 · 0 comments

Comments

@MrCyrus
Copy link

MrCyrus commented Mar 17, 2021

Cookbook version

9.5.0

Chef-client version

16.2.73

Platform Details

Redhat 6/7/8, AIX 7

Scenario:

Enhancement request. It would be nice to

  1. be able to specify different interval timings for different profiles. For example run short/quick controls daily while running long running (since running 'find' on the entire filesystem) controls weekly. Clearly need to run some profiles, but weekly is sufficient (daily would consume too many resources)
  2. be able to specify an exact time period for a profile to run. For example have a variable maybe named 'after' with a value like 'Friday 5pm' (so end of work week)

Steps to Reproduce:

N/A

Expected Result:

Having the global node['audit']['interval']['time'] would still be needed, but having the ability to set node['audit']['profiles'][NAME]['interval']['time'] would be helpful. And having node['audit']['profiles'][NAME]['interval']['after'] would be helpful

Actual Result:

I'd have to implement my own code to implement interval timing. Would be nice if 'audit' could handle this.

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

No branches or pull requests

1 participant