PUPPET-GENERATE(8) | Puppet manual | PUPPET-GENERATE(8) |
puppet-generate - Generates Puppet code from Ruby definitions.
puppet generate action
Note that any setting that's valid in the configuration file is also a valid long argument, although it may or may not be relevant to the present action. For example, server and run_mode are valid settings, so you can specify --server <servername>, or --run_mode <runmode> as an argument.
See the configuration file documentation at https://puppet.com/docs/puppet/latest/configuration.html for the full list of acceptable parameters. A commented list of all configuration options can also be generated by running puppet with --genconfig.
types
Generate Puppet type definitions for all custom resource types in the current environment:
$ puppet generate types
Generate Puppet type definitions for all custom resource types in the specified environment:
$ puppet generate types --environment development
Copyright 2016 by Puppet Inc. Apache 2 license; see COPYING
March 2021 | Puppet, Inc. |