RECLASS(1)
β¨ RECLASS(1) β¨
okay bestie, pull up a chair because we're about to talk about reclass β section 1 of your manual, the command-line interface era π
πΈ NAME πΈ
reclass β literally the command-line interface, that's it, that's the name π
π¦ SYNOPSIS π¦
reclass --help
reclass [options] --inventory
reclass [options] --nodeinfo=NODENAME
like, those are your three moves. pick one. slay β¨
π DESCRIPTION π
so reclass is an "external node classifier" (ENC) β and before you ask, yes, that's the whole vibe β the kind you'd use with automation tools like Puppet, Salt, and Ansible. it's also a stand-alone tool for merging data sources recursively. dual threat, main character energy π
the whole point of an ENC is to let a system administrator keep an inventory of nodes to be managed completely separately from the configuration of the automation tool. no cap. usually the external node classifier just fully replaces the tool-specific inventory β think site.pp for Puppet, ext_pillar/master_tops for Salt, or /etc/ansible/hosts. iconic behaviour honestly.
so, with respect to the configuration management tool, the ENC fulfills two jobs:
- it provides information about groups of nodes and group memberships
- it gives access to node-specific information, such as variables
reclass lets you define your nodes through class inheritance, while always being able to override details further up the tree (i.e. in more specific nodes). think of classes as feature sets, as commonalities between nodes, or as tags. π·οΈ add to that the ability to nest classes (multiple inheritance is allowed, well-defined, and encouraged β yes encouraged, we love a polyamorous class hierarchy π«Ά), and you can assemble your infrastructure from smaller bits, eliminating duplication and exposing all important parameters to a single location, logically organised. and if that isn't enough, reclass lets you reference other parameters in the very hierarchy you are currently assembling. the way that it justβ¦ does that π
reclass will be used indirectly through adapters most of the time. however, there exists a command-line interface that allows querying the database. this manual page describes this interface. that's what we're doing here. hi. welcome. π
β¨ OPTIONS β¨
please see the output of reclass --help for the default values of these options β like, the defaults live over there, not here, okay? π
ποΈ Database options
-s,--storage-typeβ the type of storage backend to use-b,--inventory-base-uriβ the base URI to prepend to nodes and classes-u,--nodes-uriβ the URI to the nodes storage-c,--classes-uriβ the URI to the classes storage
π¨ Output options
-o,--outputβ the output format to use (yamlorjson)-y,--pretty-printβ try to make the output prettier (it's giving glow-up β¨)
πΉοΈ Modes
-i,--inventoryβ output the entire inventory-n,--nodeinfoβ output information for a specific node
βΉοΈ Information
-h,--helpβ help output--versionβ display version number
π SEE ALSO π
please visit http://reclass.pantsfullofunix.net/ for more information about reclass. it's the lore hub, fr fr π
the documentation is also available from the ./doc subtree in the source checkout, or from /usr/share/doc/reclass-doc. pick your fave, they're all valid π
π«Ά AUTHOR π«Ά
martin f. krafft
Β©οΈ COPYRIGHT Β©οΈ
2013, martin f. krafft
and that's the whole page bestie π this was reclass 1.7, dated Feb 13, 2025 β go forth and classify those external nodes, you absolute legend ππΈβ¨
π¦ where this page comes from
- debian trixie: reclass 1.7.1-1 Β· Artistic-2.0
- ubuntu resolute: reclass 1.7.1-1 Β· Artistic-2.0
- ubuntu stonking: reclass 1.7.1-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms