```Begin tests/augeas_validation.rb Augeas Valida...
# openvox
n
Copy code
Begin tests/augeas_validation.rb

Augeas Validation
  
  * validate Augeas binary
    
    test-agent-1.vm (test-agent-1.vm) 21:52:36$ /opt/puppetlabs/puppet/bin/augtool --version
      augtool 1.14.1 <<http://augeas.net/>>
      Copyright (C) 2007-2016 David Lutterkort
      License LGPLv2+: GNU LGPL version 2.1 or later
                       <<http://www.gnu.org/licenses/lgpl-2.1.html>>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
      
      Written by David Lutterkort
    
    test-agent-1.vm (test-agent-1.vm) executed in 0.04 seconds
  
  * validate we can apply a resource type augeas
    
    test-agent-1.vm (test-agent-1.vm) 21:52:37$ puppet apply -e "augeas { 'test_ssh':
      lens    => 'Ssh.lns',
      incl    => '/etc/ssh/ssh_config',
      context => '/files/etc/ssh/ssh_config',
      changes => [
        'set Host testing.testville.nil'
      ]
    }
    "
      Notice: Compiled catalog for test-agent-1.vm in environment production in 0.03 seconds
      Error: Could not find a suitable provider for augeas
      Notice: Applied catalog in 0.02 seconds
    
    test-agent-1.vm (test-agent-1.vm) executed in 1.25 seconds
Begin teardown

test-agent-1.vm (test-agent-1.vm) 21:52:38$ puppet apply -e "augeas { 'test_ssh':
  lens    => 'Ssh.lns',
  incl    => '/etc/ssh/ssh_config',
  context => '/files/etc/ssh/ssh_config',
  changes => [
    'remove Host testing.testville.nil'
  ]
}
"
  Notice: Compiled catalog for test-agent-1.vm in environment production in 0.03 seconds
  Error: Could not find a suitable provider for augeas
  Notice: Applied catalog in 0.02 seconds

test-agent-1.vm (test-agent-1.vm) executed in 1.27 seconds
End teardown
tests/augeas_validation.rb passed in 2.56 seconds