Use the package resource as there is only one package #185
Annotations
10 errors
Run tests:
spec/classes/init_spec.rb#L97
ssh on gentoo-2-x86_64 Server with a separate sftp_server_init instance on Port 8022 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 Resource Statement, Duplicate declaration: Package[openssh] is already declared at (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/server/install.pp, line: 10); cannot redeclare (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10) (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10, column: 5) on node fv-az698-306.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L98
ssh on gentoo-2-x86_64 Server with a separate sftp_server_init instance on Port 8022 is expected to contain Concat[/etc/ssh/sshd_config.sftp_server_init]
Failure/Error: it { is_expected.to contain_concat('/etc/ssh/sshd_config.sftp_server_init') }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[openssh] is already declared at (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/server/install.pp, line: 10); cannot redeclare (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10) (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10, column: 5) on node fv-az698-306.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L99
ssh on gentoo-2-x86_64 Server with a separate sftp_server_init instance on Port 8022 is expected to contain Concat::Fragment[sshd instance sftp_server_init config] with content supplied string
Failure/Error: it { is_expected.to contain_concat__fragment('sshd instance sftp_server_init config').with_content("# File is managed by Puppet\nAddressFamily any\nPort 8022\n\nHostKey /etc/ssh/ssh_host_rsa_key\nLogLevel INFO\nPermitRootLogin no\nProtocol 2\nSyslogFacility AUTH\n") }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[openssh] is already declared at (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/server/install.pp, line: 10); cannot redeclare (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10) (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10, column: 5) on node fv-az698-306.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L100
ssh on gentoo-2-x86_64 Server with a separate sftp_server_init instance on Port 8022 is expected to contain Systemd::Unit_file[sftp_server_init.service]
Failure/Error: it { is_expected.to contain_systemd__unit_file('sftp_server_init.service') }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[openssh] is already declared at (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/server/install.pp, line: 10); cannot redeclare (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10) (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10, column: 5) on node fv-az698-306.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L101
ssh on gentoo-2-x86_64 Server with a separate sftp_server_init instance on Port 8022 is expected to contain Service[sftp_server_init.service]
Failure/Error: it { is_expected.to contain_service('sftp_server_init.service') }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[openssh] is already declared at (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/server/install.pp, line: 10); cannot redeclare (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10) (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10, column: 5) on node fv-az698-306.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L102
ssh on gentoo-2-x86_64 Server with a separate sftp_server_init instance on Port 8022 is expected to contain Ssh::Server::Instances[sftp_server_init]
Failure/Error: it { is_expected.to contain_ssh__server__instances('sftp_server_init') }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[openssh] is already declared at (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/server/install.pp, line: 10); cannot redeclare (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10) (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10, column: 5) on node fv-az698-306.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L103
ssh on gentoo-2-x86_64 Server with a separate sftp_server_init instance on Port 8022 is expected to contain Class[ssh::client]
Failure/Error: it { is_expected.to contain_class('ssh::client') }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[openssh] is already declared at (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/server/install.pp, line: 10); cannot redeclare (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10) (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10, column: 5) on node fv-az698-306.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L104
ssh on gentoo-2-x86_64 Server with a separate sftp_server_init instance on Port 8022 is expected to contain Class[ssh::server]
Failure/Error: it { is_expected.to contain_class('ssh::server') }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[openssh] is already declared at (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/server/install.pp, line: 10); cannot redeclare (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10) (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10, column: 5) on node fv-az698-306.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L105
ssh on gentoo-2-x86_64 Server with a separate sftp_server_init instance on Port 8022 is expected to contain Concat[/etc/ssh/sshd_config] with validate_cmd defined
Failure/Error: it { is_expected.to contain_concat('/etc/ssh/sshd_config').with_validate_cmd(nil) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[openssh] is already declared at (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/server/install.pp, line: 10); cannot redeclare (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10) (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10, column: 5) on node fv-az698-306.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
|
Run tests:
spec/classes/init_spec.rb#L106
ssh on gentoo-2-x86_64 Server with a separate sftp_server_init instance on Port 8022 is expected to contain Resources[sshkey] with purge => true
Failure/Error: it { is_expected.to contain_resources('sshkey').with_purge(true) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[openssh] is already declared at (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/server/install.pp, line: 10); cannot redeclare (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10) (file: /home/runner/work/puppet-ssh/puppet-ssh/spec/fixtures/modules/ssh/manifests/client/install.pp, line: 10, column: 5) on node fv-az698-306.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
|
The logs for this run have expired and are no longer available.
Loading