.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "PUPPET\-SECRET_AGENT" "8" "January 2013" "Puppet Labs, LLC" "Puppet manual" . .SH "NAME" \fBpuppet\-secret_agent\fR \- Mimics puppet agent\. . .SH "SYNOPSIS" puppet secret_agent \fIaction\fR . .SH "DESCRIPTION" This subcommand currently functions as a proof of concept, demonstrating how the Faces API exposes Puppet\'s internal systems to application logic; compare the actual code for puppet agent\. It will eventually replace puppet agent entirely, and can provide a template for users who wish to implement agent\-like functionality with non\-standard application logic\. . .SH "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, \fBserver\fR and \fBrun_mode\fR are valid configuration parameters, so you can specify \fB\-\-server \fR, or \fB\-\-run_mode \fR as an argument\. . .P See the configuration file documentation at \fIhttp://docs\.puppetlabs\.com/references/stable/configuration\.html\fR for the full list of acceptable parameters\. A commented list of all configuration options can also be generated by running puppet with \fB\-\-genconfig\fR\. . .TP \-\-render\-as FORMAT The format in which to render output\. The most common formats are \fBjson\fR, \fBs\fR (string), \fByaml\fR, and \fBconsole\fR, but other options such as \fBdot\fR are sometimes available\. . .TP \-\-verbose Whether to log verbosely\. . .TP \-\-debug Whether to log debug information\. . .SH "ACTIONS" . .TP \fBsynchronize\fR \- Run secret_agent once\. \fBSYNOPSIS\fR . .IP puppet secret_agent . .IP \fBDESCRIPTION\fR . .IP Mimics a single run of puppet agent\. This action does not currently daemonize, but can download plugins, submit facts, retrieve and apply a catalog, and submit a report to the puppet master\. . .IP \fBRETURNS\fR . .IP Verbose logging from the completed run\. When used from the Ruby API: returns a Puppet::Transaction::Report object\. . .IP \fBNOTES\fR . .IP This action requires that the puppet master\'s \fBauth\.conf\fR file allow save access to the \fBfacts\fR REST terminus\. Puppet agent does not use this facility, and it is turned off by default\. See \fIhttp://docs\.puppetlabs\.com/guides/rest_auth_conf\.html\fR for more details\. . .SH "EXAMPLES" \fBsynchronize\fR . .P Trigger a Puppet run with the configured puppet master: . .P $ puppet secret_agent . .SH "COPYRIGHT AND LICENSE" Copyright 2011 by Puppet Labs Apache 2 license; see COPYING