--- a/components/ruby/puppet/files/solaris/lib/puppet/provider/evs/solaris.rb Wed Aug 19 07:45:18 2015 -0700
+++ b/components/ruby/puppet/files/solaris/lib/puppet/provider/evs/solaris.rb Thu Aug 20 11:20:25 2015 -0700
@@ -67,7 +67,7 @@
evs_properties[:priority] = value
when "protection"
evs_properties[:protection] = value
- # read-only properties (settable upon cration)
+ # read-only properties (settable upon creation)
when "l2-type"
evs_properties[:l2_type] = value
when "vlanid"
--- a/components/ruby/puppet/files/solaris/lib/puppet/provider/evs_properties/solaris.rb Wed Aug 19 07:45:18 2015 -0700
+++ b/components/ruby/puppet/files/solaris/lib/puppet/provider/evs_properties/solaris.rb Thu Aug 20 11:20:25 2015 -0700
@@ -97,7 +97,7 @@
end
end
rescue Puppet::ExecutionFailure => e
- # EVS controller is not set or valid
+ # EVS controller is not set or invalid
# Handle the exception at upper level
raise
end
@@ -196,10 +196,8 @@
case @resource[:name]
when "controller_property"
if @property_flush.has_key?(:controller)
- puts "foo"
raise Puppet::Error, "controller_property does not have "\
"'controller' property. Try client_property"
- puts "bar"
end
props = []
--- a/components/ruby/puppet/files/solaris/lib/puppet/type/evs_vport.rb Wed Aug 19 07:45:18 2015 -0700
+++ b/components/ruby/puppet/files/solaris/lib/puppet/type/evs_vport.rb Thu Aug 20 11:20:25 2015 -0700
@@ -59,7 +59,7 @@
end
newproperty(:maxbw) do
- desc "The full duplex bandwith for the virtual port"
+ desc "The full duplex bandwidth for the virtual port"
end
newproperty(:priority) do
@@ -69,7 +69,7 @@
newproperty(:protection) do
desc "Enables one or more types of link protection"
- # verify protection value: comma(,) separatable
+ # verify protection value: comma(,) separable
validate do |value|
value.split(",").collect do |each_val|
if not ["mac-nospoof", "restricted", "ip-nospoof",