"skipping host resources because running on a device"

asked 2016-05-18 06:30:12 -0500

Peter_Meier gravatar image

Hi,

i have a problem with Puppet Device. I want to configure a node ( cisco device ) with a simple manifest file:

node "192.168.56.4" {

Interface { duplex => auto, speed => auto }

interface { "Ethernet0/1": description => "test interface for puppet", mode => access, native_vlan => 1000, }

This is my device.conf:

[192.168.56.4] type cisco url ssh://cisco:cisco@192.168.56.4

And the following is the debug output of "puppet device -d 192.168.56.4":

[0;36mDebug: Using settings: adding file resource 'confdir': 'File[/etc/puppet]{:path=>"/etc/puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'#[0m

[0;36mDebug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/uuidgen does not exist#[0m

[0;36mDebug: Puppet::Type::User::ProviderUserroleadd: file roleadd does not exist#[0m

[0;36mDebug: Failed to load library 'ldap' for feature 'ldap'#[0m

[0;36mDebug: Puppet::Type::User::ProviderLdap: feature ldap is missing#[0m

[0;36mDebug: Puppet::Type::User::ProviderPw: file pw does not exist#[0m

[0;36mDebug: /User[puppet]: Provider useradd does not support features libuser; not managing attribute forcelocal#[0m

[0;36mDebug: Puppet::Type::Group::ProviderDirectoryservice: file /usr/bin/dscl does not exist#[0m

[0;36mDebug: Failed to load library 'ldap' for feature 'ldap'#[0m

[0;36mDebug: Puppet::Type::Group::ProviderLdap: feature ldap is missing#[0m

[0;36mDebug: Puppet::Type::Group::ProviderPw: file pw does not exist#[0m

[0;36mDebug: /Group[puppet]: Provider groupadd does not support features libuser; not managing attribute forcelocal#[0m

[0;36mDebug: Using settings: adding file resource 'vardir': 'File[/var/lib/puppet]{:path=>"/var/lib/puppet", :owner=>"puppet", :group=>"puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'#[0m

[0;36mDebug: Using settings: adding file resource 'logdir': 'File[/var/log/puppet]{:path=>"/var/log/puppet", :mode=>"750", :owner=>"puppet", :group=>"puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'#[0m

[0;36mDebug: Using settings: adding file resource 'statedir': 'File[/var/lib/puppet/state]{:path=>"/var/lib/puppet/state", :mode=>"1755", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'#[0m

[0;36mDebug: Using settings: adding file resource 'rundir': 'File[/var/run/puppet]{:path=>"/var/run/puppet", :mode=>"755", :owner=>"puppet", :group=>"puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'#[0m

[0;36mDebug: Using settings: adding file resource 'libdir': 'File[/var/lib/puppet/lib]{:path=>"/var/lib/puppet/lib", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'#[0m

[0;36mDebug: Using settings: adding file resource 'certdir': 'File[/var/lib/puppet/ssl/certs]{:path=>"/var/lib/puppet/ssl/certs", :mode=>"755", :owner=>"puppet", :group=>"puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'#[0m

[0;36mDebug: Using settings: adding file resource 'ssldir': 'File[/var/lib/puppet/ssl]{:path=>"/var/lib/puppet/ssl", :mode=>"771", :owner=>"puppet", :group=>"puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'#[0m

[0;36mDebug: Using settings: adding file resource 'publickeydir': 'File[/var/lib/puppet/ssl/publickeys]{:path=>"/var/lib/puppet/ssl/publickeys", :mode=>"755", :owner=>"puppet", :group=>"puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'#[0m

[0;36mDebug: Using settings: adding file ...

(more)
edit retag flag offensive close merge delete