initial implementation: encapi ENC server + CLI #1
Reference in New Issue
Block a user
Delete Branch "benvin/initial-implementation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
encapi replaces Cobbler as Puppet's External Node Classifier. Cobbler currently answers Puppet's
execnode_terminus (/opt/cobbler-enc/cobbler-enc) and the per-nodeenc_direct_facts.rbfact. This is the initial implementation of the Postgres-backed Go replacement, keeping Puppet's classification contract byte-compatible.Changes
execterminus (list classes,environmentdropped whentesting,enc_role/enc_envparams) and the cobbler-wire form soenc_direct_facts.rbrepoints by URL onlyencapi-cli:classify(the Puppet ENC), node/role/status CRUD, and animport-cobblerseeder (HTTP-only, via PuppetDB + Cobbler)pkg/clientGo SDK and a pluggable distro-resolver seam (off by default)encapi-cli+ theencapi-encwrapper), Woodpecker CI, anddocs/cutover.mdData model: statuses (environments), roles (with inheritable
default_params), nodes (host->role+env+params), with FK integrity. Live-validated against real Cobbler: import seeded 143 nodes / 51 roles, andclassifyoutput matches Cobbler exactly.