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

Exec resource should get some more parameters #771

Open
purpleidea opened this issue Sep 11, 2024 · 2 comments
Open

Exec resource should get some more parameters #771

purpleidea opened this issue Sep 11, 2024 · 2 comments

Comments

@purpleidea
Copy link
Owner

purpleidea commented Sep 11, 2024

The exec resource was always unloved by the puppet crowd. We do love it and want to show how powerful it can be!

Here are some ideas for new params:

Instead of:

exec "foo" {
        watchcmd => "/usr/bin/inotifywait -e modify -m ${some_file}",
}

We could write:

exec "foo" {
        watchfiles => [
                ${some_file}",
                #${another_file}", # we could watch multiple files even!
        ],
}

~

@purpleidea
Copy link
Owner Author

/cc @Hiexy who has another idea here too!

@purpleidea
Copy link
Owner Author

Reminder that this could also create autoedges!

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

No branches or pull requests

1 participant