3 if Puppet::Util::Package.versioncmp(Puppet.version, '4.5.0') >= 0
4 describe 'Stdlib::ObjectStore' do
5 describe 'accepts case-sensitive google cloud gs or amazon web services s3 uris' do
7 's3://bucket-name/path',
8 's3://bucket/path/to/file.txt',
9 'gs://mybucket/myfile.csv',
10 'gs://bucket/path/to/file.tar.gz',
12 describe value.inspect do
13 it { is_expected.to allow_value(value) }
18 describe 'rejects other values' do
25 'gs//bucket/path/to/file',
26 's3//bucket/path/to/file',
28 describe value.inspect do
29 it { is_expected.not_to allow_value(value) }