|
NAMEpuppet-script - Run a puppet manifests as a script without compiling a catalog SYNOPSISRuns a puppet language script without compiling a catalog. USAGEpuppet script [-h|--help] [-V|--version] [-d|--debug] [-v|--verbose] [-e|--execute] [-l|--logdest syslog|eventlog|FILE|console] [--noop] file DESCRIPTIONThis is a standalone puppet script runner tool; use it to run puppet code without compiling a catalog. When provided with a modulepath, via command line or config file, puppet script can load functions, types, tasks and plans from modules. OPTIONSNote that any setting that's valid in the configuration file is also a valid long argument. For example, 'environment' is a valid setting, so you can specify '--environment mytest' 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'.
EXAMPLE$ puppet script -l /tmp/manifest.log manifest.pp
$ puppet script --modulepath=/root/dev/modules -e 'notice("hello world")'
AUTHORHenrik Lindberg COPYRIGHTCopyright (c) 2017 Puppet Inc. Copyright (c) 2024 Vox Pupuli Licensed under the Apache 2.0 License
|