DO NOT MERGE: Modulesync Test PR #30
Annotations
10 errors
Run tests:
spec/support/apache_directive.rb#L4
augeasproviders::instances apache_directive instances when ::augeasproviders_apache_directive_hash is a Hash is expected to contain exactly 1 Apache_directive resource
Failure/Error: it { is_expected.to have_apache_directive_resource_count(1) }
expected that the catalogue would contain exactly 1 Apache_directive resource but it contains 0
Shared Example Group: "apache_directive resource" called from ./spec/support/apache_directive.rb:35
Shared Example Group: "apache_directive" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Run tests:
spec/support/apache_directive.rb#L6
augeasproviders::instances apache_directive instances when ::augeasproviders_apache_directive_hash is a Hash is expected to contain Apache_directive[StartServers] with exactly 5 parameters, name => "StartServers", ensure => "present", args => "3", target => "/etc/httpd/conf/httpd.conf" and provider => "augeas"
Failure/Error:
expect(subject).to contain_apache_directive('StartServers').only_with({
'name' => 'StartServers',
'ensure' => 'present',
'args' => '3',
'target' => '/etc/httpd/conf/httpd.conf',
'provider' => 'augeas',
})
expected that the catalogue would contain Apache_directive[StartServers]
Shared Example Group: "apache_directive resource" called from ./spec/support/apache_directive.rb:35
Shared Example Group: "apache_directive" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Run tests:
spec/support/validate_hash.rb#L17
augeasproviders::instances apache_directive instances when ::augeasproviders_apache_directive_hash => 'FOO' is expected to raise Puppet::Error with message matching /expects a Hash value, got String/
Failure/Error: it { expect { is_expected.to create_class('augeasproviders') }.to raise_error(Puppet::Error, %r{expects a Hash value, got String}) }
expected Puppet::Error with message matching /expects a Hash value, got String/, got #<RSpec::Expectations::ExpectationNotMetError: expected that the catalogue would contain Class[augeasproviders]> with backtrace:
# ./spec/support/validate_hash.rb:17:in `block (4 levels) in <top (required)>'
# ./spec/support/validate_hash.rb:17:in `block (3 levels) in <top (required)>'
Shared Example Group: "validate_hash top-scope param" called from ./spec/classes/augeasproviders_instances_spec.rb:36
|
Run tests:
spec/support/apache_setenv.rb#L4
augeasproviders::instances apache_setenv instances when ::augeasproviders_apache_setenv_hash is a Hash is expected to contain exactly 1 Apache_setenv resource
Failure/Error: it { is_expected.to have_apache_setenv_resource_count(1) }
expected that the catalogue would contain exactly 1 Apache_setenv resource but it contains 0
Shared Example Group: "apache_setenv resource" called from ./spec/support/apache_setenv.rb:34
Shared Example Group: "apache_setenv" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Run tests:
spec/support/apache_setenv.rb#L6
augeasproviders::instances apache_setenv instances when ::augeasproviders_apache_setenv_hash is a Hash is expected to contain Apache_setenv[FOO] with exactly 4 parameters, name => "FOO", ensure => "present", value => "bar" and provider => "augeas"
Failure/Error:
expect(subject).to contain_apache_setenv('FOO').only_with({
'name' => 'FOO',
'ensure' => 'present',
'value' => 'bar',
'provider' => 'augeas',
})
expected that the catalogue would contain Apache_setenv[FOO]
Shared Example Group: "apache_setenv resource" called from ./spec/support/apache_setenv.rb:34
Shared Example Group: "apache_setenv" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Run tests:
spec/support/validate_hash.rb#L17
augeasproviders::instances apache_setenv instances when ::augeasproviders_apache_setenv_hash => 'FOO' is expected to raise Puppet::Error with message matching /expects a Hash value, got String/
Failure/Error: it { expect { is_expected.to create_class('augeasproviders') }.to raise_error(Puppet::Error, %r{expects a Hash value, got String}) }
expected Puppet::Error with message matching /expects a Hash value, got String/, got #<RSpec::Expectations::ExpectationNotMetError: expected that the catalogue would contain Class[augeasproviders]> with backtrace:
# ./spec/support/validate_hash.rb:17:in `block (4 levels) in <top (required)>'
# ./spec/support/validate_hash.rb:17:in `block (3 levels) in <top (required)>'
Shared Example Group: "validate_hash top-scope param" called from ./spec/classes/augeasproviders_instances_spec.rb:36
|
Run tests:
spec/support/host.rb#L4
augeasproviders::instances host instances when host_hash is a Hash is expected to contain exactly 1 Host resource
Failure/Error: it { is_expected.to have_host_resource_count(1) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Unknown resource type: 'host' (file: /home/runner/work/puppet-augeasproviders/puppet-augeasproviders/spec/fixtures/modules/augeasproviders/manifests/instances.pp, line: 25, column: 3) on node fv-az1055-430.mrg2vkl14epehdn0xjtgmxanmg.phxx.internal.cloudapp.net
Shared Example Group: "host resource" called from ./spec/support/host.rb:27
Shared Example Group: "host" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Run tests:
spec/support/host.rb#L6
augeasproviders::instances host instances when host_hash is a Hash is expected to contain Host[foo] with exactly 4 parameters, name => "foo", ensure => "present", ip => "192.168.1.1" and provider => "augeas"
Failure/Error:
expect(subject).to contain_host('foo').only_with({
'name' => 'foo',
'ensure' => 'present',
'ip' => '192.168.1.1',
'provider' => 'augeas',
})
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Unknown resource type: 'host' (file: /home/runner/work/puppet-augeasproviders/puppet-augeasproviders/spec/fixtures/modules/augeasproviders/manifests/instances.pp, line: 25, column: 3) on node fv-az1055-430.mrg2vkl14epehdn0xjtgmxanmg.phxx.internal.cloudapp.net
Shared Example Group: "host resource" called from ./spec/support/host.rb:27
Shared Example Group: "host" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Run tests:
spec/support/host.rb#L4
augeasproviders::instances host instances when ::augeasproviders_host_hash is a Hash is expected to contain exactly 1 Host resource
Failure/Error: it { is_expected.to have_host_resource_count(1) }
expected that the catalogue would contain exactly 1 Host resource but it contains 0
Shared Example Group: "host resource" called from ./spec/support/host.rb:34
Shared Example Group: "host" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Run tests:
spec/support/host.rb#L6
augeasproviders::instances host instances when ::augeasproviders_host_hash is a Hash is expected to contain Host[foo] with exactly 4 parameters, name => "foo", ensure => "present", ip => "192.168.1.1" and provider => "augeas"
Failure/Error:
expect(subject).to contain_host('foo').only_with({
'name' => 'foo',
'ensure' => 'present',
'ip' => '192.168.1.1',
'provider' => 'augeas',
})
expected that the catalogue would contain Host[foo]
Shared Example Group: "host resource" called from ./spec/support/host.rb:34
Shared Example Group: "host" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Loading