install packages only if not already defined #68
Annotations
10 errors
Run tests:
spec/defines/share_spec.rb#L27
samba::share on almalinux-8-x86_64 with boolean true as a value is expected to contain Augeas[APPS-section] with incl => "/etc/samba/smb.conf", lens => "Samba.lns", context => "/files/etc/samba/smb.conf" and changes => "set target[. = 'APPS'] 'APPS'"
Failure/Error:
is_expected.to contain_augeas('APPS-section').with(
'incl' => '/etc/samba/smb.conf',
'lens' => 'Samba.lns',
'context' => '/files/etc/samba/smb.conf',
'changes' => 'set target[. = \'APPS\'] \'APPS\'',
)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, 'defined' parameter 'vals' expects a value of type String, Type[CatalogEntry], or Type[Type], got Tuple (file: /home/runner/work/puppet-samba/puppet-samba/spec/fixtures/modules/samba/manifests/install.pp, line: 7, column: 12) on node fv-az1780-340.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net
|
Run tests:
spec/classes/samba_spec.rb#L10
samba on almalinux-8-x86_64 is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
error during compilation: Evaluation Error: Error while evaluating a Function Call, 'defined' parameter 'vals' expects a value of type String, Type[CatalogEntry], or Type[Type], got Tuple (file: /home/runner/work/puppet-samba/puppet-samba/spec/fixtures/modules/samba/manifests/install.pp, line: 7, column: 12) on node fv-az1780-340.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net
|
Run tests:
spec/defines/share_spec.rb#L36
samba::share on almalinux-8-x86_64 with boolean true as a value is expected to contain Samba::Option[APPS-comment] with key => "comment" and value => "Apps"
Failure/Error: is_expected.to contain_samba__option('APPS-comment').with_key('comment').with_value('Apps')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, 'defined' parameter 'vals' expects a value of type String, Type[CatalogEntry], or Type[Type], got Tuple (file: /home/runner/work/puppet-samba/puppet-samba/spec/fixtures/modules/samba/manifests/install.pp, line: 7, column: 12) on node fv-az1780-340.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net
|
Run tests:
spec/classes/samba_spec.rb#L21
samba on almalinux-8-x86_64 samba::install should allow package ensure to be overridden is expected to contain Package[samba] with ensure => "latest"
Failure/Error: is_expected.to contain_package('samba').with_ensure('latest')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, 'defined' parameter 'vals' expects a value of type String, Type[CatalogEntry], or Type[Type], got Tuple (file: /home/runner/work/puppet-samba/puppet-samba/spec/fixtures/modules/samba/manifests/install.pp, line: 7, column: 12) on node fv-az1780-340.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net
|
Run tests:
spec/defines/share_spec.rb#L45
samba::share on almalinux-8-x86_64 with boolean true as a value is expected to contain exactly 67 Samba::Option resources
Failure/Error: is_expected.to have_samba__option_resource_count(67)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, 'defined' parameter 'vals' expects a value of type String, Type[CatalogEntry], or Type[Type], got Tuple (file: /home/runner/work/puppet-samba/puppet-samba/spec/fixtures/modules/samba/manifests/install.pp, line: 7, column: 12) on node fv-az1780-340.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net
|
Run tests:
spec/classes/samba_spec.rb#L38
samba on almalinux-8-x86_64 samba::install should allow the package name to be overridden is expected to contain Package[samba-server] with ensure => "present"
Failure/Error: is_expected.to contain_package('samba-server').with_ensure('present')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, 'defined' parameter 'vals' expects a value of type String, Type[CatalogEntry], or Type[Type], got Tuple (file: /home/runner/work/puppet-samba/puppet-samba/spec/fixtures/modules/samba/manifests/install.pp, line: 7, column: 12) on node fv-az1780-340.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net
|
Run tests:
spec/defines/share_spec.rb#L27
samba::share on ubuntu-22.04-x86_64 with boolean true as a value is expected to contain Augeas[APPS-section] with incl => "/etc/samba/smb.conf", lens => "Samba.lns", context => "/files/etc/samba/smb.conf" and changes => "set target[. = 'APPS'] 'APPS'"
Failure/Error:
is_expected.to contain_augeas('APPS-section').with(
'incl' => '/etc/samba/smb.conf',
'lens' => 'Samba.lns',
'context' => '/files/etc/samba/smb.conf',
'changes' => 'set target[. = \'APPS\'] \'APPS\'',
)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, 'defined' parameter 'vals' expects a value of type String, Type[CatalogEntry], or Type[Type], got Tuple (file: /home/runner/work/puppet-samba/puppet-samba/spec/fixtures/modules/samba/manifests/install.pp, line: 7, column: 12) on node fv-az1780-340.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net
|
Run tests:
spec/classes/contains_spec.rb#L11
samba on almalinux-8-x86_64 is expected to compile into a catalogue without dependency cycles
Failure/Error: is_expected.to compile.with_all_deps
error during compilation: Evaluation Error: Error while evaluating a Function Call, 'defined' parameter 'vals' expects a value of type String, Type[CatalogEntry], or Type[Type], got Tuple (file: /home/runner/work/puppet-samba/puppet-samba/spec/fixtures/modules/samba/manifests/install.pp, line: 7, column: 12) on node fv-az1780-340.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net
|
Run tests:
spec/defines/share_spec.rb#L36
samba::share on ubuntu-22.04-x86_64 with boolean true as a value is expected to contain Samba::Option[APPS-comment] with key => "comment" and value => "Apps"
Failure/Error: is_expected.to contain_samba__option('APPS-comment').with_key('comment').with_value('Apps')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, 'defined' parameter 'vals' expects a value of type String, Type[CatalogEntry], or Type[Type], got Tuple (file: /home/runner/work/puppet-samba/puppet-samba/spec/fixtures/modules/samba/manifests/install.pp, line: 7, column: 12) on node fv-az1780-340.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net
|
Run tests:
spec/classes/contains_spec.rb#L16
samba on almalinux-8-x86_64 Testing the dependencies between the classes is expected to contain Class[samba::install]
Failure/Error: it { is_expected.to contain_class('samba::install') }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, 'defined' parameter 'vals' expects a value of type String, Type[CatalogEntry], or Type[Type], got Tuple (file: /home/runner/work/puppet-samba/puppet-samba/spec/fixtures/modules/samba/manifests/install.pp, line: 7, column: 12) on node fv-az1780-340.agtqprkliaoehfcdqtdennvexe.cx.internal.cloudapp.net
|
Loading