Skip to content

Reworked the defaults for what file to use with cfengine run - #201

Merged
olehermanse merged 1 commit into
cfengine:mainfrom
SimonThalvorsen:ENT-14304
Jul 29, 2026
Merged

Reworked the defaults for what file to use with cfengine run#201
olehermanse merged 1 commit into
cfengine:mainfrom
SimonThalvorsen:ENT-14304

Conversation

@SimonThalvorsen

@SimonThalvorsen SimonThalvorsen commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Now default is use the local if it exists, else use the one in inputs if it exists

Ticket: ENT-14304

@olehermanse olehermanse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now default is use the remote if it exists in input, otherwise transfer the local file + rm it after

This is opposite of what the ticket asks for:

Make cfengine run default to use local file & rm from host after running

Now default is use the local if it exists, else check /var/cfengine/inputs
Ticket: ENT-14304

Signed-off-by: Simon Halvorsen <simon.halvorsen@northern.tech>
@olehermanse
olehermanse merged commit 9f55c2d into cfengine:main Jul 29, 2026
6 checks passed
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.

2 participants