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

Exercise 3.2 "kill a process" contains a placeholder #5

Open
mikeweilgart opened this issue Jun 28, 2019 · 1 comment
Open

Exercise 3.2 "kill a process" contains a placeholder #5

mikeweilgart opened this issue Jun 28, 2019 · 1 comment

Comments

@mikeweilgart
Copy link
Collaborator

http://www.cfenginetutorial.org/book/cfengine_250#uid131

Also, it contains the long process table regex for a splunkd process, which I am pretty sure is based on the older processes promises implementation - need to dig up the details, but as I recall there was an improvement to that so that the regex is only matched against the actual process name (or full command?).

@mikeweilgart
Copy link
Collaborator Author

The change was in 3.9.0; here is an excerpt from the changelog:

- Behavior change: The promise string of a processes
  promise now matches just the command line of each process instead of
  the line that is output by ps. This was done to reduce fragmentation
  between platforms, since ps is a very nonstandardized tool.

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