Resource example

# Configure the device name as ChefClient, and set the SSH username and password to user and 123456 for the Chef client.

netdev_device 'device' do
 hostname "ChefClient"
 user "user"
 passwd "123456"
end