A class method called with a block runs when its parameters are optional
literals and its body only branches on them and stores ivars puppet never
reads. A top-level raise runs only when its if/unless condition holds, nil?
is evaluated, and a statement guarded by block_given? outside a method never
runs. Generates shellvar.
Puppet.features.<name>? autoloads the module's puppet/feature file and is true
when each of its libs loads, gems only when declared; openvox's own features
depend on the host and skip. Includes of hook-free openvox modules, private
:name in mixins and block parameters on attribute blocks are accepted.
Generates augeas and augeasprovider.
Ruby continues a statement whose line ends in a method-call dot, and File.join
joins array arguments recursively with its own separator rules. Generates the
seven openldap types.
Puppet::Type.type(:x) loads x's module type file with its providers, whose
classes .provider(:n) returns as a parent; a nil parent is Puppet::Provider.
title_patterns binds locals, including Regexp.new copies. Generates ceph_config,
ceph_fs and ceph_pool.
Run a module's self.included on the including provider: extend adds singleton
methods, a super-wrapping initvars resets defaults and commands where called,
and inlined define loops add property methods. Compose interpolated regex
literals and accept them only when an Onigmo subset check passes. Generates
network_config and network_route.
Provider classes keep #12's desc, defaultfor, commands and features alongside the
evaluator's singleton methods, constants and provide-block bindings in one classCtx.
Goldens for yumrepo, patroni_dcs_config and zfs are regenerated with openvox 9.3.0,
and gentypes.Version is 7.
- add an evaluator for constants, locals, define loops, inlined singleton methods and own-type validproperties
- cap inline depth, world steps and allocation
- model puppet/util/inifile's classes and %i symbols
- vendor patroni and zfs_core fixtures and the full yumrepo provider
- record each provider class's own desc, @doc, defaultfor, commands and has_features
- render the commands, defaults and features dochooks into the provider param doc
- detect method-backed features from public provider methods, skipping when unprovable
- reject provider DSL calls before initvars in plain provider subclasses
- read %i word arrays as symbols
- compare comments in TestGolden's external env mode
Generate grafana_ldap_config when r10k.yaml declares toml; a module copy of a gem path, an unmodelled gem file or a module opening a gem namespace still skips.
- analyse provider files and required libraries with the type-file allowlist
- resolve requires with puppet core, gems and stdlib ahead of module lib dirs
- read mixins from the file that was required; skip paths several modules provide
- resolve constants by lexical scope
- mirror resource_api schema raises, Variant flattening and float lexing
- seed .resource_types from the live worktree so skipped types keep their .pp
- bound-check a trailing $ in the lexer and turn a per-file panic into an env error
- allowlist top-level statements: requires, literal constants, module Puppet, begin/rescue requires
- require the require that defines Puppet::ResourceApi, Boolean and File parents and included mixins
- name providers by their provide call; skip types whose provider files are not one recognised provide
- read symbol option keys only, as newparam, newproperty and register_type do
- parse Resource API types with a TypeParser-compatible grammar
- skip duplicate properties and parameters
- add a parseFile fuzz target and real-puppet golden fixtures for each case
- error on stray closers, deep nesting and runaway parses
- allow only inert statements in type and attribute bodies, resolving included mixins
- add the implicit ensure puppet gives types defining exists?, create and destroy
- accept behavior: as the Resource API alias of behaviour:
- normalise Ruby integer, float, string escape and regex literals, failing on forms that cannot be reproduced
- unlink stale symlinks in .resource_types
- verify fixtures, with real providers, against real puppet output
- add gentypes: a static Go port of `puppet generate types` for classic and Resource API types
- run it in prepare when w10k.generate_types is set; a failure fails the env and keeps the old link
- confine reads to the worktree and module cache, refuse a committed .resource_types symlink
- test against real puppet output for a vendored Apache-2.0 type set