Skip to content

Lavaburn/puppet-mikrotik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppet-mikrotik

Puppet Module for managing Mikrotik Devices

Work in Progress.

Local Testing

Bootstrap

For local testing using RVM:

  • rvm use 2.4.5
  • gem install bundler
  • bundle install --binstubs [LEGACY?]

Acceptance Testing

Single run:

rake beaker

Multiple runs:

BEAKER_provision=yes BEAKER_destroy=no rake beaker

BEAKER_provision=no BEAKER_destroy=no rake beaker

BEAKER_provision=no BEAKER_destroy=onpass rake beaker

Debugging inside Vagrant

cd .vagrant/beaker_vagrant_files/default.yml

vagrant ssh puppet
vagrant ssh ubuntu-16-04

Defining SUT and environment

  • See spec/fixtures/testnodes.example.yaml
  • See spec/fixtures/upgrade_source.example.yaml

Optional: using CHR as testmachine

  • vagrant boxes add dulin/mikrotik
  • cd vagrant; vagrant up See spec/fixtures/testnodes.example.yaml

NOTES

IPv6

The IPv6 package is not installed by default!

Tested Using

Works:

  • Ruby 2.1.8
  • Puppet 4.3.2

Works:

  • Ruby 2.4.5
  • Puppet 5.5.10

Works ("puppet6" branch):

  • Ruby 2.4.5
  • Puppet 6.13.0

About

Puppet Module for managing Mikrotik Devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published