change spacing to 2 space
to conform with Ruby/Puppet standards
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
require "puppet"
|
||||
|
||||
module Puppet
|
||||
Puppet::Type.newtype(:vs_bridge) do
|
||||
@doc = "A Switch - For example 'br-int' in OpenStack"
|
||||
Puppet::Type.newtype(:vs_bridge) do
|
||||
@doc = "A Switch - For example 'br-int' in OpenStack"
|
||||
|
||||
ensurable
|
||||
ensurable
|
||||
|
||||
newparam(:name) do
|
||||
isnamevar
|
||||
desc "The bridge to configure"
|
||||
end
|
||||
|
||||
newproperty(:external_ids) do
|
||||
desc "External IDs for the bridge"
|
||||
end
|
||||
newparam(:name) do
|
||||
isnamevar
|
||||
desc "The bridge to configure"
|
||||
end
|
||||
|
||||
newproperty(:external_ids) do
|
||||
desc "External IDs for the bridge"
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
require "puppet"
|
||||
|
||||
module Puppet
|
||||
Puppet::Type.newtype(:vs_port) do
|
||||
@doc = "A Virtual Switch Port"
|
||||
Puppet::Type.newtype(:vs_port) do
|
||||
@doc = "A Virtual Switch Port"
|
||||
|
||||
ensurable
|
||||
ensurable
|
||||
|
||||
newparam(:interface) do
|
||||
isnamevar
|
||||
desc "The interface to attach to the bridge"
|
||||
end
|
||||
|
||||
newparam(:bridge) do
|
||||
desc "What bridge to use"
|
||||
end
|
||||
newparam(:interface) do
|
||||
isnamevar
|
||||
desc "The interface to attach to the bridge"
|
||||
end
|
||||
|
||||
newparam(:bridge) do
|
||||
desc "What bridge to use"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user