puppet-parser(8) - phpMan

Command: man perldoc info search(apropos)  


PUPPET-PARSER(8)                          Puppet manual                          PUPPET-PARSER(8)



NAME
       puppet-parser - Interact directly with the parser.

SYNOPSIS
       puppet parser action

OPTIONS
       Note  that  any  configuration  parameter 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  configuration  parameters, so you can specify
       --server <servername>, or --run_mode <runmode> as an argument.

       See the configuration  file  documentation  at  http://docs.puppetlabs.com/references/sta-
       ble/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.

       --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
       validate - Validate the syntax of one or more Puppet manifests.
              SYNOPSIS

              puppet parser validate [manifest] [manifest ...]

              DESCRIPTION

              This  action validates Puppet DSL syntax without compiling a catalog or syncing any
              resources. If no manifest files are provided, it will  validate  the  default  site
              manifest.

              RETURNS

              Nothing, or the first syntax error encountered.

EXAMPLES
       validate

       Validate the default site manifest at /etc/puppet/manifests/site.pp:

       $ puppet parser validate

       Validate two arbitrary manifest files:

       $ puppet parser validate init.pp vhost.pp

       Validate from STDIN:

       $ cat init.pp | puppet parser validate

COPYRIGHT AND LICENSE
       Copyright 2011 by Puppet Labs Apache 2 license; see COPYING



Puppet Labs, LLC                           January 2013                          PUPPET-PARSER(8)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-04-27 00:18 @13.59.61.119 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!