From 640f49697a3d8fb4a616de02ce7a278ee96ff3f4 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Thu, 11 Oct 2012 22:40:04 -0700 Subject: [PATCH] change spacing to 2 space to conform with Ruby/Puppet standards --- lib/puppet/type/vs_bridge.rb | 23 ++++++++++++----------- lib/puppet/type/vs_port.rb | 22 +++++++++++----------- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/lib/puppet/type/vs_bridge.rb b/lib/puppet/type/vs_bridge.rb index 6736b418..6a1f84db 100644 --- a/lib/puppet/type/vs_bridge.rb +++ b/lib/puppet/type/vs_bridge.rb @@ -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 diff --git a/lib/puppet/type/vs_port.rb b/lib/puppet/type/vs_port.rb index 79f3f9ad..79398f53 100644 --- a/lib/puppet/type/vs_port.rb +++ b/lib/puppet/type/vs_port.rb @@ -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