device.conf: Network hardware access
puppet-device subcommand retrieves
catalogs from the primary Puppet server and applies them to
remote devices. Devices to be managed by the
puppet-device subcommand are configured in
For more information on Puppet device, see the Puppet device documentation.
device.conf file is located
$confdir/device.conf by default,
and its location is configurable with the deviceconfig setting.
The location of
confdir depends on your
operating system. See the confdir documentation for details.
device.conffile is an INI-like file, with one section per device:
[device001.example.com] type cisco url ssh://admin:email@example.com debug
The section name specifies the
The values for the
url properties are specific to each type of
The the optional
debug property specifies
transport-level debugging, and is limited to telnet and ssh transports.
urlis in the following format:
user: optional connection username, depending on the device configuration
password: connection password
?enable=parameter whose value is the enable password
urlmust be percent-encoded.