Skip to content

Commit

Permalink
ensure_running_1.c: Fixed components -> component
Browse files Browse the repository at this point in the history
This example disagrees with itself, referencing both
"component" and "components". The other examples call the
slist "component" so I went for that.

Changelog: None
Ticket: CFE-3472
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
  • Loading branch information
olehermanse committed Oct 23, 2020
1 parent 4fe1e65 commit 72ddf09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/example-snippets/ensure_running_1.cf
Expand Up @@ -2,11 +2,11 @@ bundle agent CFEngine_processes
{
vars:

"components" slist => { "cf-execd", "cf-monitord", "cf-serverd", "cf-hub" };
"component" slist => { "cf-execd", "cf-monitord", "cf-serverd", "cf-hub" };

processes:

"$(components)"
"$(component)"
comment => "Make sure server parts of CFEngine are running",
restart_class => canonify("$(component)_not_running");

Expand Down

0 comments on commit 72ddf09

Please sign in to comment.