Config Files: device.conf
This version of Puppet is not included in Puppet Enterprise. The latest version of PE includes Puppet 4.10. A newer version is available; see the version menu above for details.
The puppet device subcommand configures network hardware using a catalog downloaded from the puppet master; in order to function, it requires that the relevant devices be configured.
device.conf file is located at
$confdir/device.conf by default. Its location is configurable with the
The location of the
confdir varies; it depends on the OS, Puppet distribution, and user account. See the confdir documentation for details.
device.conf is organized in INI-like sections, with one section per device:
[router6.example.com] type cisco url ssh://admin:email@example.com
The name of each section should be the name that will be used with puppet device to access the device.
The body of the section should contain a
type directive (the only current valid value is
cisco) and a
url directive (which should be an SSH URL to the device’s management interface).