4 Commits

Author SHA1 Message Date
Ben Vincent d3fdb3c4ef Set prodnxsr0014-0019 role to k8s::compute
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
## Why

- terragrunt-enc source drifted from the live encapi ENC: it declares
  prodnxsr0014-0019 as roles::base, but live ENC already classifies them as
  roles::infra::k8s::compute (confirmed via node-lookup enc_role).
- terragrunt-enc is the single source of truth for ENC data, so the source
  must match reality.

## How

- Change prodnxsr0014-0019.main.unkin.net role from roles::base to
  roles::infra::k8s::compute, matching prodnxsr0004-0008.
- environment stays develop, consistent with the other k8s compute physicals.
2026-08-08 22:36:07 +10:00
Ben Vincent afb50ae76e Add prodnxsr0014-0019 physical nodes from cobbler
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Six new bare-metal Dell OptiPlex 3070 hosts were racked and registered on
the legacy cobbler server; replicate their ENC classification here.

- Add prodnxsr0014-0019.main.unkin.net, role roles::base, environment develop
- Bump the prodnxsr node-count comment from 13 to 19

Claude-Session: https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
2026-08-04 00:22:01 +10:00
Ben Vincent 52273fb7aa Align VM node environments with live estate (develop)
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
2026-07-25 00:11:11 +10:00
Ben Vincent 054110d748 Populate terragrunt-enc: encapi ENC data as code
ci/woodpecker/pr/plan Pipeline failed
ci/woodpecker/pr/pre-commit Pipeline was successful
terragrunt-enc is the single source of truth for encapi ENC data (Puppet
statuses, roles, and node classifications), managed with Terraform/Terragrunt.
It supersedes Cobbler classification for Puppet and the terraform-incus
dual-write prototype (PR #39).

- Add modules/encapi (encapi_status / encapi_role / encapi_node, nodes
  FK-ordered after their role and status).
- Add config/encapi leaf: 3 statuses, 51 roles, and 143 node assignments
  (130 container VMs env production + 13 prodnxsr physicals env develop),
  all YAML-driven.
- Add config/root.hcl (consul backend infra/terraform/enc/<leaf>/state) and
  the encapi provider from the artifactapi registry (v0.1.0).
- Add Makefile, Woodpecker pre-commit/plan/apply pipelines, pre-commit
  config, ci/extract_incus_nodes.py, and expand the README.
2026-07-24 23:12:03 +10:00