Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ fixtures:
concat: 'https://github.com/puppetlabs/puppetlabs-concat'
cron_core: 'https://github.com/puppetlabs/puppetlabs-cron_core'
extlib: 'https://github.com/voxpupuli/puppet-extlib'
postgresql: 'https://github.com/puppetlabs/puppetlabs-postgresql'
postgresql:
repo: 'https://github.com/bastelfreak/puppetlabs-postgresql'
branch: 'log'
puppet: 'https://github.com/theforeman/puppet-puppet'
redis: 'https://github.com/voxpupuli/puppet-redis'
systemd: 'https://github.com/voxpupuli/puppet-systemd'
Expand Down
14 changes: 14 additions & 0 deletions spec/acceptance/dynflow_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@
end
end

describe command('env') do
its(:stdout) { should match /PWD=/ }
its(:exit_status) { should eq 0 }
end

describe command('localectl status') do
its(:stdout) { should match /Locale/ }
its(:exit_status) { should eq 0 }
end

describe file('/tmp/postgresql.txt') do
its(:content) { should match /postgresql/ }

Check failure on line 26 in spec/acceptance/dynflow_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9

Scenario: install foreman 2 workers File "/tmp/postgresql.txt" content is expected to match /postgresql/ Failure/Error: its(:content) { should match /postgresql/ } expected "" to match /postgresql/ Diff: @@ -1 +1 @@ -/postgresql/ +""

Check failure on line 26 in spec/acceptance/dynflow_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

Scenario: install foreman 2 workers File "/tmp/postgresql.txt" content is expected to match /postgresql/ Failure/Error: its(:content) { should match /postgresql/ } expected "" to match /postgresql/ Diff: @@ -1 +1 @@ -/postgresql/ +""

Check failure on line 26 in spec/acceptance/dynflow_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 22.04

Scenario: install foreman 2 workers File "/tmp/postgresql.txt" content is expected to match /postgresql/ Failure/Error: its(:content) { should match /postgresql/ } expected "" to match /postgresql/ Diff: @@ -1 +1 @@ -/postgresql/ +""

Check failure on line 26 in spec/acceptance/dynflow_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

Scenario: install foreman 2 workers File "/tmp/postgresql.txt" content is expected to match /postgresql/ Failure/Error: its(:content) { should match /postgresql/ } expected "" to match /postgresql/ Diff: @@ -1 +1 @@ -/postgresql/ +""

Check failure on line 26 in spec/acceptance/dynflow_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9

Scenario: install foreman 2 workers File "/tmp/postgresql.txt" content is expected to match /postgresql/ Failure/Error: its(:content) { should match /postgresql/ } expected "" to match /postgresql/ Diff: @@ -1 +1 @@ -/postgresql/ +""
end

it_behaves_like 'the foreman application'

describe file('/etc/foreman/dynflow/worker.yml') do
Expand Down
Loading