Use more specific data types #245
Annotations
10 errors
Run tests:
spec/defines/source_spec.rb#L36
apt::source with defaults with location is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content !~ /# my_source\ndeb-src hello.there wheezy main\n/
Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').without_content(%r{# my_source\ndeb-src hello.there wheezy main\n})
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
|
Run tests:
spec/defines/source_spec.rb#L53
apt::source no defaults with complex pin is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /hello.there stretch main\n/
Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{hello.there stretch main\n})
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
|
Run tests:
spec/defines/source_spec.rb#L57
apt::source no defaults with complex pin is expected to contain File[/etc/apt/sources.list.d/my_source.list] that notifies Class[Apt::Update]
Failure/Error: it { is_expected.to contain_file('/etc/apt/sources.list.d/my_source.list').that_notifies('Class[Apt::Update]') }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
|
Run tests:
spec/defines/source_spec.rb#L59
apt::source no defaults with complex pin is expected to contain Apt::Pin[my_source] that comes before Apt::Setting[list-my_source]
Failure/Error:
expect(subject).to contain_apt__pin('my_source').that_comes_before('Apt::Setting[list-my_source]').with(ensure: 'present',
priority: 1001,
explanation: 'wishwash',
release: 'wishwash')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
|
Run tests:
spec/defines/source_spec.rb#L149
apt::source with allow_insecure true is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[allow-insecure=yes\] hello.there stretch main\n/
Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb \[allow-insecure=yes\] hello.there stretch main\n})
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
|
Run tests:
spec/defines/source_spec.rb#L162
apt::source with allow_unsigned true is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[trusted=yes\] hello.there stretch main\n/
Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb \[trusted=yes\] hello.there stretch main\n})
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
|
Run tests:
spec/defines/source_spec.rb#L175
apt::source with check_valid_until false is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[check-valid-until=false\] hello.there stretch main\n/
Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb \[check-valid-until=false\] hello.there stretch main\n})
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
|
Run tests:
spec/defines/source_spec.rb#L188
apt::source with check_valid_until true is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb hello.there stretch main\n/
Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb hello.there stretch main\n})
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
|
Run tests:
spec/defines/source_spec.rb#L201
apt::source with keyring set is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[signed-by=\/usr\/share\/keyrings\/foo-archive-keyring.gpg\] hello.there stretch main\n/
Failure/Error:
expect(subject).to contain_apt__setting('list-my_source')
.with(ensure: 'present')
.with_content(%r{# my_source\ndeb \[signed-by=/usr/share/keyrings/foo-archive-keyring.gpg\] hello.there stretch main\n})
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
|
Run tests:
spec/defines/source_spec.rb#L218
apt::source with keyring, architecture and allow_unsigned set is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[arch=amd64 trusted=yes signed-by=\/usr\/share\/keyrings\/foo-archive-keyring.gpg\] hello.there stretch main\n/
Failure/Error:
expect(subject).to contain_apt__setting('list-my_source')
.with(ensure: 'present')
.with_content(%r{# my_source\ndeb \[arch=amd64 trusted=yes signed-by=/usr/share/keyrings/foo-archive-keyring.gpg\] hello.there stretch main\n})
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
|
The logs for this run have expired and are no longer available.
Loading