Skip to content

Add domain controller policies - #134

Merged
silug merged 4 commits into
ayohrling:mainfrom
michael-riddle:add-domain-controller-policies
Jul 21, 2026
Merged

Add domain controller policies#134
silug merged 4 commits into
ayohrling:mainfrom
michael-riddle:add-domain-controller-policies

Conversation

@michael-riddle

Copy link
Copy Markdown

No description provided.

michael-riddle and others added 2 commits July 16, 2026 13:34
CLAUDE.md is a gitignored local symlink to it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Adds lsp_mapping entries and unit tests for:
- Domain controller: Allow server operators to schedule tasks
- Domain controller: Allow vulnerable Netlogon secure channel connections
- Domain controller: LDAP server channel binding token requirements
- Domain controller: LDAP server signing requirements
- Domain controller: Refuse machine account password changes

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the module’s SecurityPolicy.lsp_mapping to support additional Windows “Domain controller” security options, and adds unit tests and release metadata updates to validate and publish the new support.

Changes:

  • Add five new “Domain controller:” registry-value mappings in SecurityPolicy.lsp_mapping.
  • Add unit specs covering mapping lookup/reverse-lookup and REG_DWORD/REG_SZ value conversions for the new policies.
  • Bump module version to 1.2.0 and document the change in CHANGELOG.md (plus add AGENTS.md guidance).

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
spec/unit/puppet/type/local_security_policy/local_security_policy_spec.rb Adds type-level spec coverage to ensure DC policies derive registry setting and convert values correctly.
spec/unit/puppet/provider/local_security_policy/security_policy_spec.rb Adds mapping and registry-value conversion specs for the new DC policy entries.
lib/puppet_x/lsp/security_policy.rb Adds the new “Domain controller” policy mappings to the core lookup table.
metadata.json Bumps module version to 1.2.0 for release.
CHANGELOG.md Documents the new 1.2.0 release and policy support additions.
AGENTS.md Adds contributor/assistant guidance on architecture and test commands.
.gitignore Ignores /CLAUDE.md.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

michael-riddle and others added 2 commits July 21, 2026 13:08
The syntax and parallel_spec jobs only need the default group, but
bundler-cache installs every group by default. That pulled in the
beaker acceptance-test chain (beaker-puppet_install_helper ->
beaker-pe -> beaker-abs -> vmfloaty -> faraday-patron -> patron),
whose native patron gem fails to build on the runner because
libcurl/curl.h isn't present, breaking the syntax job. Acceptance
tests already aren't run in CI, so skip installing those groups.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Excluding the acceptance/system_tests groups wasn't enough: the
:development group's puppet-module-posix-dev-r2.7 pulls in
dependency_checker -> puppet_forge -> faraday_middleware -> faraday,
and faraday 1.9.0's gemspec hard-depends on every adapter gem
(including faraday-patron) regardless of which adapter is actually
used at runtime. faraday-patron requires the native patron gem, which
needs libcurl/curl.h to compile. Install libcurl4-openssl-dev before
bundle install so that native extension can build.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@silug
silug merged commit f8456fc into ayohrling:main Jul 21, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants