External Node Classifiers
summary
Shows how External Node Classifiers replace a giant, messy nodes.pp (author found few thousand lines after scaling to 1300 nodes) with either a simple script or LDAP-backed lookups. Demo builds a Ruby ENC that parses hostnames into YAML keys environment, classes, parameters, configures puppet master node_terminus to exec, runs a no-op to prove variables land in manifests, then adds puppet.schema attributes and uses an LDAP server with the ruby-ldap package to serve the same YAML-style data.
AI-written summary · about
chapters (16)
- 0:00Start
- 0:11External Node Classifiers
- 1:52Why Do You Bother To Organize Data
- 6:45Classes
- 7:02Parameters
- 8:31What Are the Puppet Changes Needed To Implement E & C in Your Infrastructure
- 10:30Basic Naming Convention
- 11:56Puppet Configuration
- 15:38Prereqs
- 18:40Node Definitions
- 20:46Basic Configuration
- 22:51Ldap Search
- 23:20Host Definitions
- 24:50Ldap Add
- 25:37Change Our Puppet Configuration File
- 34:12Note Classification
