Skip to content
Draft
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
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: Run provision Tests
run: |
bundle exec bolt --tmpdir /tmp --modulepath spec/fixtures/modules -i $INVENTORY_PATH plan run satellite_pe_tools::test_03_test_run --stream
bundle exec bolt --tmpdir /tmp --log-level debug --modulepath spec/fixtures/modules -i $INVENTORY_PATH plan run satellite_pe_tools::test_03_test_run --stream

- name: Run Integration tests
run: |
Expand Down
2 changes: 2 additions & 0 deletions config/scripts/install_satellite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ if ! [ -d /opt/satellite ]; then

puppet agent -t

setenforce 0
satellite-installer --scenario satellite --enable-puppet --enable-foreman-cli-puppet --foreman-initial-admin-password "puppetlabs" --tuning development -l DEBUG
setenforce 1
fi
2 changes: 1 addition & 1 deletion plans/test_01_provision.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plan satellite_pe_tools::test_01_provision(
) {
# provision server machine, set role
run_task('provision::provision_service', 'localhost', action => 'provision', platform => 'centos-stream-8', vars => 'role: pe')
run_task('provision::provision_service', 'localhost', action => 'provision', platform => 'centos-stream-9', vars => 'role: pe')
# provision satellite
run_task('provision::provision_service', 'localhost', action => 'provision', platform => 'rhel-8', vars => 'role: satellite')
}
2 changes: 1 addition & 1 deletion plans/test_02_server_setup.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'password' => 'puppetlabs',
'configure_tuning' => false,
},
'version' => '2021.7.4',
'version' => '2021.7.6',
}
run_plan('deploy_pe::provision_master', $server, $params)
}
1 change: 1 addition & 0 deletions spec/spec_helper_acceptance_local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def scp_from(host, target, local, username, password)

def satellite_update_setting(server, satellite, setting, value)
change_target_host(satellite)
Helper.instance.run_shell('foreman-rake apipie:cache')
Helper.instance.run_shell("hammer --username admin --password puppetlabs settings set --id '#{setting}' --name '#{setting}' --value '#{value}'")
# Create activation key
# rubocop:disable Layout/LineLength
Expand Down
Loading