-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from jhoblitt/interface_mode_property
Interface mode property
- Loading branch information
Showing
8 changed files
with
277 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
--- | ||
sudo: false | ||
language: ruby | ||
before_script: 'bundle exec rake fixture:prepare' | ||
script: 'SPEC_OPTS="--format documentation" bundle exec rake spec' | ||
notifications: | ||
email: false | ||
rvm: | ||
- 1.9.3 | ||
- 1.8.7 | ||
- 1.9.3 | ||
- 2.0.0 | ||
- 2.1 | ||
env: | ||
- PUPPET_VERSION=2.7.21 | ||
- PUPPET_VERSION=3.0.2 | ||
- PUPPET_VERSION=3.1.0 | ||
- PUPPET_GEM_VERSION="~> 2.7" | ||
- PUPPET_GEM_VERSION="~> 3.3" | ||
- PUPPET_GEM_VERSION="~> 3.7" | ||
matrix: | ||
allow_failures: | ||
- rvm: ruby-head | ||
exclude: | ||
- rvm: 1.9.3 | ||
env: PUPPET_GEM_VERSION="~> 2.7" | ||
- rvm: 2.0.0 | ||
env: PUPPET_GEM_VERSION="~> 2.7" | ||
- rvm: 2.1 | ||
env: PUPPET_GEM_VERSION="~> 2.7" | ||
fast_finish: true | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
spec/fixtures/provider/network_config/interfaces_spec/two_interfaces_static_vlan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# This file describes the network interfaces available on your system | ||
# and how to activate them. For more information, see interfaces(5). | ||
|
||
# The loopback network interface | ||
auto lo | ||
iface lo inet loopback | ||
|
||
# The primary network interface | ||
auto eth0 | ||
iface eth0 inet static | ||
address 192.168.0.2 | ||
broadcast 192.168.0.255 | ||
netmask 255.255.255.0 | ||
gateway 192.168.0.1 | ||
mtu 1500 | ||
auto eth0.1 | ||
iface eth0.1 inet static | ||
vlan-raw-device eth0 | ||
address 172.16.0.2 | ||
broadcast 172.16.0.255 | ||
netmask 255.255.255.0 | ||
gateway 172.16.0.1 | ||
mtu 1500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.