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 REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ The following parameters are available in the `odoo` class:

##### <a name="-odoo--version"></a>`version`

Data type: `Enum['10.0', '11.0', '12.0', '13.0', '14.0', '15.0', '16.0', '17.0', '18.0', 'system']`
Data type: `Enum['10.0', '11.0', '12.0', '13.0', '14.0', '15.0', '16.0', '17.0', '18.0', '19.0', 'system']`

The version of odoo to install

Expand Down
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
# @param limit_time_real_cron Maximum allowed Real time per cron job
# @param limit_request Maximum number of request to be processed per worker
class odoo (
Enum['10.0', '11.0', '12.0', '13.0', '14.0', '15.0', '16.0', '17.0', '18.0', 'system'] $version = undef,
Enum['10.0', '11.0', '12.0', '13.0', '14.0', '15.0', '16.0', '17.0', '18.0', '19.0', 'system'] $version = undef,

String[1] $wkhtmltox_version = '0.12.6.1',
Optional[Enum['wkhtmltox']] $wkhtmltopdf = undef,
Expand Down Expand Up @@ -200,7 +200,7 @@
'Ubuntu' => {
'20.04' => ['11.0', '12.0', '13.0', '14.0', '15.0', '16.0'],
'22.04' => ['14.0', '15.0', '16.0', '17.0'],
'24.04' => ['15.0', '16.0', '17.0', '18.0'],
'24.04' => ['15.0', '16.0', '17.0', '18.0', '19.0'],
},
}

Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/odoo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'Ubuntu' => {
'20.04' => ['11.0', '12.0', '13.0', '14.0', '15.0', '16.0'],
'22.04' => ['14.0', '15.0', '16.0', '17.0'],
'24.04' => ['15.0', '16.0', '17.0', '18.0'],
'24.04' => ['15.0', '16.0', '17.0', '18.0', '19.0'],
},
}[fact('os.name')][fact('os.release.major')]
end
Expand All @@ -21,7 +21,7 @@
context "when using odoo version=#{version.inspect}" do
let(:version) { version }

it 'works idempotently with no errors' do

Check warning on line 24 in spec/acceptance/odoo_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / OpenVox 8 - Debian 11

odoo class when using odoo version="15.0" works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-openvox8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_193622934.aKYhcc.pp Last 10 lines of output were: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? �[mNotice: /Stage[main]/Odoo::Config/Odoo_config[db_user]: Dependency Package[odoo] has failures: true Warning: /Stage[main]/Odoo::Config/Odoo_config[db_user]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_password]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_host]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_port]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Service/Service[odoo]: Skipping because of failed dependencies Info: Class[Odoo]: Unscheduling all events on Class[Odoo] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 5.04 seconds

Check warning on line 24 in spec/acceptance/odoo_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / OpenVox 8 - Debian 12

odoo class when using odoo version="15.0" works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian12-64-openvox8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_193601687.g9WsDj.pp Last 10 lines of output were: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? �[mNotice: /Stage[main]/Odoo::Config/Odoo_config[db_user]: Dependency Package[odoo] has failures: true Warning: /Stage[main]/Odoo::Config/Odoo_config[db_user]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_password]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_host]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_port]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Service/Service[odoo]: Skipping because of failed dependencies Info: Class[Odoo]: Unscheduling all events on Class[Odoo] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 4.03 seconds

Check warning on line 24 in spec/acceptance/odoo_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / OpenVox 8 - Ubuntu 24.04

odoo class when using odoo version="15.0" works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2404-64-openvox8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_193453973.eKgRrQ.pp Last 10 lines of output were: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? �[mNotice: /Stage[main]/Odoo::Config/Odoo_config[db_user]: Dependency Package[odoo] has failures: true Warning: /Stage[main]/Odoo::Config/Odoo_config[db_user]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_password]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_host]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_port]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Service/Service[odoo]: Skipping because of failed dependencies Info: Class[Odoo]: Unscheduling all events on Class[Odoo] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 41.04 seconds

Check warning on line 24 in spec/acceptance/odoo_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / OpenVox 8 - Ubuntu 22.04

odoo class when using odoo version="15.0" works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-openvox8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_193618434.DY61lA.pp Last 10 lines of output were: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? �[mNotice: /Stage[main]/Odoo::Config/Odoo_config[db_user]: Dependency Package[odoo] has failures: true Warning: /Stage[main]/Odoo::Config/Odoo_config[db_user]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_password]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_host]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Config/Odoo_config[db_port]: Skipping because of failed dependencies Warning: /Stage[main]/Odoo::Service/Service[odoo]: Skipping because of failed dependencies Info: Class[Odoo]: Unscheduling all events on Class[Odoo] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 5.26 seconds
pending('Upstream repository is broken: see https://github.com/odoo/odoo/issues/224353') if version == '15.0'

# Normally we should just purge the package between tests but this
Expand Down
Loading