---
name: "puppet-inspect"
section: "8"
platform: "linux"
package: "puppet"
version: "4.8.2-5"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/puppet-inspect"
---

# puppet-inspect(8)

Send an inspection report

## NAME

**puppet-inspect** - Send an inspection report

## SYNOPSIS

Prepares and submits an inspection report to the puppet master.

## USAGE

puppet inspect \[--archive\_files\] \[--archive\_file\_server\]

## DESCRIPTION

This command uses the cached catalog from the previous run of ´puppet agent´ to determine which attributes of which resources have been marked as auditable with the ´audit´ metaparameter. It then examines the current state of the system, writes the state of the specified resource attributes to a report, and submits the report to the puppet master.

Puppet inspect does not run as a daemon, and must be run manually or from cron.

## OPTIONS

Any configuration setting which is valid in the configuration file is also a valid long argument, e.g. ´--server=master.domain.com´. See the configuration file documentation at https://docs.puppetlabs.com/references/latest/configuration.html for the full list of acceptable settings.

- \--archive\_files

  During an inspect run, whether to archive files whose contents are audited to a file bucket.

- \--archive\_file\_server

  During an inspect run, the file bucket server to archive files to if archive\_files is set. The default value is ´$server´.

## AUTHOR

Puppet Labs

## COPYRIGHT

Copyright (c) 2011 Puppet Labs, LLC Licensed under the Apache 2.0 License
