Repository navigation
IH-186: puppet_apply comments: puppet-agent arrives with puppet-code, not the toolkit - #306
Conversation
Since the standalone infrahouse-toolkit package (IH-185), puppet-agent is no toolkit dependency: puppet-code's debian/control has "Depends: puppet-agent". The two comment paragraphs that named the toolkit name puppet-code now, with the same reasoning, and "the cron above" is "the cron below", where the cron is. Comments only, in all three copies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Ready for review: 503c0a9 Round 1, the first review: no findings to answer yet.
|
|
Approved 503c0a9 Diffed every changed file against |
IH-186:
puppet_apply.ppsays puppet-agent arrives with puppet-code, not with infrahouse-toolkit.The other PR: infrahouse/infrahouse-toolkit#274 (removes the toolkit's Omnibus build and the
RELEASE_PACKAGErollback switch).Why
IH-186 kept the toolkit's Omnibus build as a rollback until two or three standalone releases shipped without needing
it. Four have (2.68.0, 2.68.1, 2.68.2, 2.68.3), so the toolkit PR removes it. The Omnibus package declared
runtime_dependency 'puppet-agent'; the standalone package doesn't. Itspackaging/nfpm.yamlsays:puppet_apply.ppstill said puppet-agent "arrives as an infrahouse-toolkit dependency", twice. Comments only.What makes puppet-agent a dependency of puppet-code
debian/control, line 13:The published package says the same:
https://release-noble.infrahouse.com/dists/noble/main/binary-amd64/Packageslists
puppet-code0.1.0-1build335withDepends: puppet-agent.The change
The two paragraphs that named the toolkit name puppet-code, with the same reasoning:
puppet apply, and its package enablesan agent daemon that has no job on a masterless node. That paragraph and the "masked rather than disabled" one are
otherwise unchanged.
Package['puppet-agent']isn't declared: it arrives as a puppet-code dependency, so it is installed withthis code, before any catalog can be applied. Nothing to order against, and a base-level
Packagerisksduplicate declarations.
Every copy, identically:
modules/profile/manifests/puppet_apply.pp,environments/development/modules/profile/manifests/puppet_apply.ppandenvironments/sandbox/modules/profile/manifests/puppet_apply.pp. They are regular files, not symlinks, and wereidentical before (same md5); I edited
modules/and copied it over the other two, so they are identical after:No resource, attribute, ordering or whitespace change: every changed line of the diff starts with
#(
git diff -U0 | grep -E '^[-+]' | grep -vE '^(\+\+\+|---)' | grep -vE '^[-+]\s*#'prints nothing for the manifests).The fourth changed file is
debian/changelog(decided 2).Checks
puppet parser validate(Puppet 8.10.0), each changed fileSyntax error at 'ensure': the validator does catch errorspuppet-lint --fail-on-warnings(4.2.3) onmodules/profile,modules/role,environments/development/modules/profile,environments/sandbox/modules/profilePuppet Code Continuous Integration: builds the package)503c0a9:test (noble)andosv-scandecided
decided:"the cron above" became "the cron below". Thecron { 'puppet_apply': }it refers to is below thecomment, at the end of the class. It's in the first of the two paragraphs this PR rewords anyway.
decided:debian/changeloggets its0.1.0-1build336entry. The repository's pre-commit hook adds one toevery commit (
make bumpversion), and CD publishes everymainpush, which needs a new version. It's the repo'sown convention, not a release decision.
After merge
CD publishes
puppet-code0.1.0-1build336. The catalog it applies is unchanged.🤖 Generated with Claude Code