Skip to content

cfengine format examples#6117

Closed
olehermanse wants to merge 8 commits intocfengine:masterfrom
olehermanse:examples
Closed

cfengine format examples#6117
olehermanse wants to merge 8 commits intocfengine:masterfrom
olehermanse:examples

Conversation

@olehermanse
Copy link
Copy Markdown
Member

  • tests: Added comment to empty policy file for cf-execd code test
  • tests: Changed ifvarclass to if in several tests and examples
  • tests: Renamed vars_multiple_types to .x.cf
  • tests: Removed unused test file
  • tests: Renamed wrong-bundle-type.cf.sub to .sub.x.cf
  • examples: Made sense of augment.cf example
  • cfengine format examples

cfengine lint generally considers empty files to be a problem,
because they could be the result of a failed transfer, failed
write, or similar. Thus, adding a comment here to avoid
having an empty .cf file.

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
Didn't change all of them - left the ones which seem like
the test is for testing ifvarclass specifically.

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
The test using this file was removed in:
ef10f3b

13 years ago.

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
@olehermanse olehermanse closed this May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant