Skip to content

Added cf-support for Windows - #6324

Merged
nickanderson merged 1 commit into
cfengine:masterfrom
nickanderson:ENT-9046/master
Aug 21, 2026
Merged

Added cf-support for Windows#6324
nickanderson merged 1 commit into
cfengine:masterfrom
nickanderson:ENT-9046/master

Conversation

@nickanderson

@nickanderson nickanderson commented Aug 19, 2026

Copy link
Copy Markdown
Member

The POSIX cf-support is /bin/sh, so Windows support cases have had no equivalent way to collect diagnostics. Adds a PowerShell port plus a .cmd wrapper that runs it with -ExecutionPolicy Bypass so an unsigned script isn't blocked by the default machine policy.

Collects the Windows equivalent of each POSIX section, the 'Cfengine Nova' Windows Event Log entries in place of the syslog grep, and the diagnostics directory including report_dumps.

Ticket: ENT-9046
Packaging: cfengine/buildscripts#2444

The POSIX cf-support is /bin/sh and cannot run on Windows, so Windows support
cases had no way to collect diagnostics.
nickanderson added a commit to nickanderson/buildscripts that referenced this pull request Aug 19, 2026
Installs cf-support.ps1 and cf-support.cmd into bin. Requires cfengine/core#6324,
which builds them.
@nickanderson

Copy link
Copy Markdown
Member Author

@cf-bottom jenkins, please

@cf-bottom

Copy link
Copy Markdown

@nickanderson
nickanderson merged commit 6aad959 into cfengine:master Aug 21, 2026
54 of 57 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