Remove logic for Windows systems

... because we've never supported Windows OS.

Change-Id: I1351bd4e7b84957e3d84b7e779fb58f5af282b8e
This commit is contained in:
Takashi Kajinami 2022-07-08 00:36:24 +09:00
parent 5928ffdd14
commit 9506c10502
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ Puppet::Type.newtype(:tempest_config) do
newparam(:path) do
desc 'The ini file Puppet will ensure contains the specified setting.'
validate do |value|
unless (Puppet.features.posix? and value =~ /^\//) or (Puppet.features.microsoft_windows? and (value =~ /^.:\// or value =~ /^\/\/[^\/]+\/[^\/]+/))
unless value =~ /^\//
raise(Puppet::Error, "File paths must be fully qualified, not '#{value}'")
end
end