Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PUPPET-GENERATE(8)		 OpenVox manual 	      PUPPET-GENERATE(8)

NAME
     puppet-generate - Generates Puppet code from Ruby definitions.

SYNOPSIS
     puppet generate action

OPTIONS
     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/pup-
     pet/latest/configuration.html for the full list of acceptable parameters. A
     commented	list  of all configuration options can also be generated by run-
     ning puppet with --genconfig.

     --render-as FORMAT
	    The format in which to render output. The most  common  formats  are
	    json,  s  (string), yaml, and console, but other options such as dot
	    are sometimes available.

     --verbose
	    Whether to log verbosely.

     --debug
	    Whether to log debug information.

ACTIONS
     types - Generates Puppet code for custom types
	    SYNOPSIS

	    puppet generate types [--format format] [--force]

	    DESCRIPTION

	    Generates definitions for custom resource types using Puppet code.

	    Types defined in Puppet code can be used to isolate custom type def-
	    initions between different environments.

	    OPTIONS --force - Forces  the  generation  of  output  files  (skips
	    up-to-date checks).

	    --format  <format>	- The generation output format to use. Supported
	    formats: pcore.

EXAMPLES
     types

     Generate Puppet type definitions for all custom resource types in the  cur-
     rent environment:

	 $ puppet generate types

     Generate Puppet type definitions for all custom resource types in the spec-
     ified environment:

	 $ puppet generate types --environment development

COPYRIGHT AND LICENSE
     Copyright 2016 by Puppet Inc., Vox Pupuli Apache 2 license; see COPYING

Vox Pupuli			  January 2025		      PUPPET-GENERATE(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=puppet-generate&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help