install packages only if not already defined #66
puppet.yml
on: pull_request
Puppet
/
Static validations
10s
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
20 errors
Puppet / 8 (Ruby 3.2):
spec/defines/share_spec.rb#L27
samba::share on centos-6-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: 9) on node fv-az523-98.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/defines/option_spec.rb#L18
samba::option on centos-6-x86_64 with boolean true as a value is expected to contain Augeas[samba option (test=yes)] with incl => "/etc/samba/smb.conf", lens => "Samba.lns" and changes => "set \"target[. = \"global\"]/foo\" \"yes\""
Failure/Error:
is_expected.to contain_augeas('samba option (test=yes)').with(
'incl' => '/etc/samba/smb.conf',
'lens' => 'Samba.lns',
'changes' => 'set "target[. = "global"]/foo" "yes"',
)
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: 9) on node fv-az523-98.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/defines/share_spec.rb#L36
samba::share on centos-6-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: 9) on node fv-az523-98.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/defines/option_spec.rb#L31
samba::option on centos-6-x86_64 with boolean false as a value is expected to contain Augeas[samba option (test=no)] with incl => "/etc/samba/smb.conf", lens => "Samba.lns" and changes => "set \"target[. = \"global\"]/foo\" \"no\""
Failure/Error:
is_expected.to contain_augeas('samba option (test=no)').with(
'incl' => '/etc/samba/smb.conf',
'lens' => 'Samba.lns',
'changes' => 'set "target[. = "global"]/foo" "no"',
)
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: 9) on node fv-az523-98.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/defines/option_spec.rb#L44
samba::option on centos-6-x86_64 with integer as a value is expected to contain Augeas[samba option (test=100)] with incl => "/etc/samba/smb.conf", lens => "Samba.lns" and changes => "set \"target[. = \"global\"]/test\" \"100\""
Failure/Error:
is_expected.to contain_augeas('samba option (test=100)').with(
'incl' => '/etc/samba/smb.conf',
'lens' => 'Samba.lns',
'changes' => 'set "target[. = "global"]/test" "100"',
)
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: 9) on node fv-az523-98.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/defines/share_spec.rb#L45
samba::share on centos-6-x86_64 with boolean true as a value is expected to contain exactly 63 Samba::Option resources
Failure/Error: is_expected.to have_samba__option_resource_count(63)
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: 9) on node fv-az523-98.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/classes/contains_spec.rb#L11
samba on centos-6-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: 9) on node fv-az523-98.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/defines/share_spec.rb#L27
samba::share on redhat-6-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: 9) on node fv-az523-98.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/defines/option_spec.rb#L57
samba::option on centos-6-x86_64 with string as a value is expected to contain Augeas[samba option (test=ssl)] with incl => "/etc/samba/smb.conf", lens => "Samba.lns" and changes => "set \"target[. = \"global\"]/test\" \"ssl\""
Failure/Error:
is_expected.to contain_augeas('samba option (test=ssl)').with(
'incl' => '/etc/samba/smb.conf',
'lens' => 'Samba.lns',
'changes' => 'set "target[. = "global"]/test" "ssl"',
)
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: 9) on node fv-az523-98.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/classes/samba_spec.rb#L10
samba on centos-6-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: 9) on node fv-az523-98.sep422n2mygejbgjkrbwxz25qb.ex.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
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: 9) on node fv-az984-882.r1dl3knd25iuznqlwxibdlge2f.cx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
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: 9) on node fv-az984-882.r1dl3knd25iuznqlwxibdlge2f.cx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
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: 9) on node fv-az984-882.r1dl3knd25iuznqlwxibdlge2f.cx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/classes/contains_spec.rb#L17
samba on almalinux-8-x86_64 Testing the dependencies between the classes is expected to contain Class[samba::config]
Failure/Error: it { is_expected.to contain_class('samba::config') }
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: 9) on node fv-az984-882.r1dl3knd25iuznqlwxibdlge2f.cx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
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: 9) on node fv-az984-882.r1dl3knd25iuznqlwxibdlge2f.cx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/classes/contains_spec.rb#L18
samba on almalinux-8-x86_64 Testing the dependencies between the classes is expected to contain Class[samba::service]
Failure/Error: it { is_expected.to contain_class('samba::service') }
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: 9) on node fv-az984-882.r1dl3knd25iuznqlwxibdlge2f.cx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/defines/share_spec.rb#L45
samba::share on almalinux-8-x86_64 with boolean true as a value is expected to contain exactly 63 Samba::Option resources
Failure/Error: is_expected.to have_samba__option_resource_count(63)
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: 9) on node fv-az984-882.r1dl3knd25iuznqlwxibdlge2f.cx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/classes/contains_spec.rb#L19
samba on almalinux-8-x86_64 Testing the dependencies between the classes is expected to contain Class[samba::firewall]
Failure/Error: it { is_expected.to contain_class('samba::firewall') }
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: 9) on node fv-az984-882.r1dl3knd25iuznqlwxibdlge2f.cx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
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: 9) on node fv-az984-882.r1dl3knd25iuznqlwxibdlge2f.cx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/classes/contains_spec.rb#L21
samba on almalinux-8-x86_64 Testing the dependencies between the classes is expected to contain Class[samba::install] that comes before Class[samba::config]
Failure/Error: it { is_expected.to contain_class('samba::install').that_comes_before('Class[samba::config]') }
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: 9) on node fv-az984-882.r1dl3knd25iuznqlwxibdlge2f.cx.internal.cloudapp.net
|