Use the package resource as there is only one package #185
Annotations
10 errors
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
ssh with client_match_block behaves like an idempotent resource applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian12-64-none.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_101118000.pp.wyEM6D
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: You cannot collect exported resources without storeconfigs being set; the export is ignored (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7)
Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7) on node debian12-64-none.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/client_spec.rb:7
|
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
ssh with client_match_block behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian12-64-none.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_101120753.pp.RMHWPj
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: You cannot collect exported resources without storeconfigs being set; the export is ignored (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7)
Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7) on node debian12-64-none.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/client_spec.rb:7
|
spec/acceptance/client_spec.rb#L42
ssh with client_match_block behaves like an idempotent resource File "/etc/ssh/ssh_config" content is expected to match "# File managed by Puppet\n\nGlobalKnownHostsFile /var/lib/sss/pubconf/known_hosts\nPubkeyAuthentication yes\nGSSAPIAuthentication yes\nGSSAPIDelegateCredentials yes\nHost *\n HashKnownHosts yes\n SendEnv LANG LC_*\nMatch host bar\n ForwardX11 no\n PasswordAuthentication yes\nMatch !localuser foo\n ProxyCommand /usr/bin/sss_ssh_knownhostsproxy -p %p %h\n"
Failure/Error:
is_expected.to match <<~SSH
# File managed by Puppet
GlobalKnownHostsFile /var/lib/sss/pubconf/known_hosts
PubkeyAuthentication yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes
Host *
HashKnownHosts yes
SendEnv LANG LC_*
expected "\n# This is the ssh client system-wide configuration file. See\n# ssh_config(5) for more informatio...ssh/known_hosts.d/%k\n SendEnv LANG LC_*\n HashKnownHosts yes\n GSSAPIAuthentication yes\n" to match "# File managed by Puppet\n\nGlobalKnownHostsFile /var/lib/sss/pubconf/known_hosts\nPubkeyAuthentication yes\nGSSAPIAuthentication yes\nGSSAPIDelegateCredentials yes\nHost *\n HashKnownHosts yes\n SendEnv LANG LC_*\nMatch host bar\n ForwardX11 no\n PasswordAuthentication yes\nMatch !localuser foo\n ProxyCommand /usr/bin/sss_ssh_knownhostsproxy -p %p %h\n"
Diff:
@@ -1,15 +1,54 @@
-# File managed by Puppet
-GlobalKnownHostsFile /var/lib/sss/pubconf/known_hosts
-PubkeyAuthentication yes
-GSSAPIAuthentication yes
-GSSAPIDelegateCredentials yes
+# This is the ssh client system-wide configuration file. See
+# ssh_config(5) for more information. This file provides defaults for
+# users, and the values can be changed in per-user configuration files
+# or on the command line.
+
+# Configuration data is parsed as follows:
+# 1. command line options
+# 2. user-specific file
+# 3. system-wide file
+# Any configuration value is only changed the first time it is set.
+# Thus, host-specific definitions should be at the beginning of the
+# configuration file, and defaults at the end.
+
+# Site-wide defaults for some commonly used options. For a comprehensive
+# list of available options, their meanings and defaults, please see the
+# ssh_config(5) man page.
+
+Include /etc/ssh/ssh_config.d/*.conf
+
Host *
- HashKnownHosts yes
+# ForwardAgent no
+# ForwardX11 no
+# ForwardX11Trusted yes
+# PasswordAuthentication yes
+# HostbasedAuthentication no
+# GSSAPIAuthentication no
+# GSSAPIDelegateCredentials no
+# GSSAPIKeyExchange no
+# GSSAPITrustDNS no
+# BatchMode no
+# CheckHostIP yes
+# AddressFamily any
+# ConnectTimeout 0
+# StrictHostKeyChecking ask
+# IdentityFile ~/.ssh/id_rsa
+# IdentityFile ~/.ssh/id_dsa
+# IdentityFile ~/.ssh/id_ecdsa
+# IdentityFile ~/.ssh/id_ed25519
+# Port 22
+# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
+# MACs hmac-md5,hmac-sha1,[email protected]
+# EscapeChar ~
+# Tunnel no
+# TunnelDevice any:any
+# PermitLocalCommand no
+# VisualHostKey no
+# ProxyCommand ssh -q -W %h:%p gateway.example.com
+# RekeyLimit 1G 1h
+# UserKnownHostsFile ~/.ssh/known_hosts.d/%k
SendEnv LANG LC_*
-Match host bar
- ForwardX11 no
- PasswordAuthent
|
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
ssh with defaults behaves like an idempotent resource applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian12-64-none.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_101124627.pp.FJTIdZ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: You cannot collect exported resources without storeconfigs being set; the export is ignored (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7)
Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7) on node debian12-64-none.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/init_spec.rb:13
|
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
ssh with defaults behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian12-64-none.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_101127300.pp.ngSZAZ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: You cannot collect exported resources without storeconfigs being set; the export is ignored (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7)
Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7) on node debian12-64-none.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/init_spec.rb:13
|
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
ssh Server with a seperate sftp_server_init instance on Port 8022 behaves like an idempotent resource applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian12-64-none.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_101130304.pp.4MgReo
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: You cannot collect exported resources without storeconfigs being set; the export is ignored (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7)
Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7) on node debian12-64-none.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/init_spec.rb:34
|
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
ssh Server with a seperate sftp_server_init instance on Port 8022 behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'debian12-64-none.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_101132896.pp.ODGeca
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: You cannot collect exported resources without storeconfigs being set; the export is ignored (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7)
Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /etc/puppet/code/modules/ssh/manifests/hostkeys.pp, line: 79, column: 7) on node debian12-64-none.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/init_spec.rb:34
|
spec/acceptance/init_spec.rb#L65
ssh Server with a seperate sftp_server_init instance on Port 8022 behaves like an idempotent resource Port "8022" is expected to be listening
Failure/Error: it { is_expected.to be_listening }
expected Port "8022" to be listening
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/init_spec.rb:34
|
spec/acceptance/init_spec.rb#L69
ssh Server with a seperate sftp_server_init instance on Port 8022 behaves like an idempotent resource Service "sftp_server_init" is expected to be enabled
Failure/Error: it { is_expected.to be_enabled }
expected Service "sftp_server_init" to be enabled
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/init_spec.rb:34
|
spec/acceptance/init_spec.rb#L70
ssh Server with a seperate sftp_server_init instance on Port 8022 behaves like an idempotent resource Service "sftp_server_init" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "sftp_server_init" to be running
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/init_spec.rb:34
|
The logs for this run have expired and are no longer available.
Loading