Add validate_cmd
for keepalived.conf
#277
Annotations
2 errors
spec/acceptance/keepalived_spec.rb#L154
keepalived class with broken config fails validate command
Failure/Error: apply_result = apply_manifest(pp, expect_failures: true)
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_120937189.knjqCa.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to, 'container_other'
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.10 seconds
Info: Using environment 'production'
Info: Applying configuration version '1722600578'
Info: Computing checksum on file /etc/keepalived/keepalived.conf
Info: /Stage[main]/Keepalived::Config/Concat[/etc/keepalived/keepalived.conf]/File[/etc/keepalived/keepalived.conf]: Filebucketed /etc/keepalived/keepalived.conf to puppet with sum 47d4e40550fa54f216993b7311db6ec62cf5364ee6a8d5ba4a4306c001307330
�[mNotice: /Stage[main]/Keepalived::Config/Concat[/etc/keepalived/keepalived.conf]/File[/etc/keepalived/keepalived.conf]/content: content changed '{sha256}47d4e40550fa54f216993b7311db6ec62cf5364ee6a8d5ba4a4306c001307330' to '{sha256}6502d3e382f566438c9f8ddc1c2f7a3011c6e912af710448920b03fee64b4b63'
Info: Concat[/etc/keepalived/keepalived.conf]: Scheduling refresh of Service[keepalived]
�[mNotice: /Stage[main]/Keepalived::Service/Service[keepalived]: Triggered 'refresh' from 1 event
�[mNotice: Applied catalog in 1.57 seconds
|
|
This job failed
Loading