#puppet device --verbose
Info: starting applying configuration to switch.mydomain at telnet://admin:ad...@switch.mydomain
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Caching catalog for switch.mydomain
Info: Applying configuration version '1408732346'
Notice: Finished catalog run in 0.05 seconds
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
#templatedir=$confdir/templates
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
dns_alt_names = puppetmaster,puppetmaster.mydomain
[switch.mydomain]
type cisco
url telnet://admin:ad...@switch.mydomain
interface {
"GigabitEthernet0/1":
description => "puppet test",
}
}
node switch.mydomain {
interface {
"GigabitEthernet1/0/1":
description => "teste",
}
}
On Fri, Aug 22, 2014 at 12:10 PM, Nathan Brito <natha...@gmail.com> wrote:
I'm trying to apply settings on a Cisco Catalyst 2960S through the puppet, but I can not.When I give the "device #puppet verbose" command, the puppet does not return me error but does not apply the manifest.Follows the return of the command:
#puppet device --verbose
Info: starting applying configuration to switch.mydomain at telnet://admin:admin@switch.mydomain
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Caching catalog for switch.mydomain
Info: Applying configuration version '1408732346'
Notice: Finished catalog run in 0.05 seconds
/etc/puppet/puppet.conf:[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
#templatedir=$confdir/templates
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
dns_alt_names = puppetmaster,puppetmaster.mydomain/etc/puppet/device.conf
[switch.mydomain]
type cisco
url telnet://admin:admin@switch.mydomain
Manifest: /etc/puppet/manifests/switch.ppinterface {
"GigabitEthernet0/1":
description => "puppet test",
}
}
On Fri, Aug 22, 2014 at 12:10 PM, Nathan Brito <natha...@gmail.com> wrote:
I'm trying to apply settings on a Cisco Catalyst 2960S through the puppet, but I can not.When I give the "device #puppet verbose" command, the puppet does not return me error but does not apply the manifest.Follows the return of the command:
#puppet device --verbose
Info: starting applying configuration to switch.mydomain at telnet://admin:admin@switch.mydomain
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Caching catalog for switch.mydomain
Info: Applying configuration version '1408732346'
Notice: Finished catalog run in 0.05 seconds
/etc/puppet/puppet.conf:[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
#templatedir=$confdir/templates
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
dns_alt_names = puppetmaster,puppetmaster.mydomain/etc/puppet/device.conf
[switch.mydomain]
type cisco
url telnet://admin:admin@switch.mydomain
Manifest: /etc/puppet/manifests/switch.ppinterface {
"GigabitEthernet0/1":
description => "puppet test",
}
}
I think this needs to be under a node that matches your device.conf setting, so site.pp:node switch.mydomain {interface { ...}}