Remove logic for Windows systems
... because we've never supported Windows OS. Change-Id: I1351bd4e7b84957e3d84b7e779fb58f5af282b8e
This commit is contained in:
parent
5928ffdd14
commit
9506c10502
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user