Class: Puppet::IisFileSystemPathProperty

Inherits:
IisProperty
  • Object
show all
Defined in:
lib/puppet/type/iis/iis_file_system_path_property.rb

Instance Method Summary collapse

Instance Method Details

#insync?(is) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/puppet/type/iis/iis_file_system_path_property.rb', line 13

def insync?(is)
  self.is_to_s(is).gsub("/", "\\").casecmp(self.should_to_s(@should).gsub("/", "\\")) == 0
end

#validate(value) ⇒ Object



9
10
11
# File 'lib/puppet/type/iis/iis_file_system_path_property.rb', line 9

def validate(value)

end