summaryrefslogtreecommitdiffstats
path: root/spec/unit/provider/vlan
Commit message (Collapse)AuthorAgeFilesLines
* maint: fix spec_helper inclusions again.Daniel Pittman2011-05-171-2/+1
| | | | | | | | | | We got rid of the '../../spec_helper' style requires, but a few of them snuck back in in recent changes. This purges them out, replaced with the header: #!/usr/bin/env rspec require 'spec_helper' Reviewed-By: Nick Lewis <nick@puppetlabs.com>
* Merge remote-tracking branch 'community/feature/puppet-device' into 2.7.xPieter van de Bruggen2011-04-181-13/+7
| | | | Reviewed-By: Mike Stahnke
* maint: clean up the spec test headers in bulk.Daniel Pittman2011-04-131-1/+1
| | | | | | | We now use a shebang of: #!/usr/bin/env rspec This enables the direct execution of spec tests again, which was lost earlier during the transition to more directly using the rspec2 runtime environment.
* Add management of router/switchs global vlansBrice Figureau2011-04-081-0/+62
This allows to manage the global device list of vlans. Currently supports only cisco IOS devices. This is as easy as: Vlan { device_url => "ssh://user:pass@switch.domain.com/" } vlan { "200": description => "R&D"; "99": description => "Management"; } The device_url conforms to the same specs as for the interface type. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>