diff --git a/.fixtures.yml b/.fixtures.yml index 377d89e..cd7bd5f 100644 --- a/.fixtures.yml +++ b/.fixtures.yml @@ -14,7 +14,7 @@ fixtures: rsyslog: repo: https://github.com/saz/puppet-rsyslog.git network: - repo: https://github.com/example42/puppet-network.git - ref: v3.6.1 + repo: https://github.com/voxpupuli/puppet-network.git + ref: v2.1.0 symlinks: mofed: "#{source_dir}" diff --git a/manifests/interface.pp b/manifests/interface.pp index c72e6d8..07a2f2b 100644 --- a/manifests/interface.pp +++ b/manifests/interface.pp @@ -87,8 +87,9 @@ method => 'static', hotplug => 'false', options => { - 'TYPE' => 'Infiniband', - 'NM_CONTROLLED' => $_nm_controlled, + 'TYPE' => 'Infiniband', + 'NM_CONTROLLED' => $_nm_controlled, + 'CONNECTED_MODE' => $connected_mode, } } } @@ -105,9 +106,10 @@ method => 'static', hotplug => 'false', options => { - 'TYPE' => 'Infiniband', - 'NM_CONTROLLED' => $_nm_controlled, - 'GATEWAY' => $gateway, + 'TYPE' => 'Infiniband', + 'NM_CONTROLLED' => $_nm_controlled, + 'GATEWAY' => $gateway, + 'CONNECTED_MODE' => $connected_mode, } } } else { @@ -120,9 +122,9 @@ method => 'static', hotplug => 'false', options => { - 'TYPE' => 'Infiniband', - 'NM_CONTROLLED' => $_nm_controlled, - 'GATEWAY' => $gateway, + 'TYPE' => 'Infiniband', + 'NM_CONTROLLED' => $_nm_controlled, + 'CONNECTED_MODE' => $connected_mode, } } } diff --git a/metadata.json b/metadata.json index a0de21a..879cd42 100644 --- a/metadata.json +++ b/metadata.json @@ -25,8 +25,8 @@ "version_requirement": ">= 3.5.0 <6.0.0" }, { - "name": "example42/network", - "version_requirement": ">= 3.0.0 <4.0.0" + "name": "puppet/network", + "version_requirement": ">= 2.1.0 <4.0.0" } ], "operatingsystem_support": [