Modernize kosmos-mediawiki cookbook #600

Open
greg wants to merge 2 commits from feature/500-chef_upgrade_mediawiki into master
Owner

... and upgrade Chef to 18 on wiki-1.

This has been done with the help of cookstyle which is very useful to
learn about breaking changes and updates in Chef.

On wiki-1 I managed to update Chef up to 17.10.163. For version 18 I ran
into an issue with the omnibus installer returning a 404. I then worked around it by manually installing the latest Chef 18 release

Refs #500

... and upgrade Chef to 18 on wiki-1. This has been done with the help of `cookstyle` which is very useful to learn about breaking changes and updates in Chef. On wiki-1 I managed to update Chef up to 17.10.163. For version 18 I ran into an issue with the omnibus installer returning a 404. I then worked around it by manually installing the latest Chef 18 release Refs #500
greg added the
enhancement
kredits-1
labels 2025-07-09 09:28:38 +00:00
greg added 1 commit 2025-07-09 09:28:38 +00:00
This has been done with the help of `cookstyle` which is very useful to
learn about breaking changes and updates in Chef.

On wiki-1 I managed to update Chef up to 17.10.163. For version 18 I ran
into an issue with the omnibus installer returning a 404

Refs #500
greg requested review from raucao 2025-07-09 09:28:38 +00:00
greg added this to the 2025/Q2 project 2025-07-09 09:28:38 +00:00
Author
Owner

I think this might be related to my issue with the Omnitruck API not letting me install Chef 18:

https://docs.chef.io/chef_install_script/

It's trying to use https://omnitruck.chef.io/chef/install.sh which works for versions up to 17, it looks like they've switched the API to a new URL, one for Commercial and one for Community

I think this might be related to my issue with the Omnitruck API not letting me install Chef 18: https://docs.chef.io/chef_install_script/ It's trying to use https://omnitruck.chef.io/chef/install.sh which works for versions up to 17, it looks like they've switched the API to a new URL, one for Commercial and one for Community
greg added 1 commit 2025-07-09 13:45:44 +00:00
I ended up upgrading Chef manually on the server as I couldn't using
knife-zero

`curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chef -v 18.7.10`
Author
Owner

I worked around the issue by manually upgrading Chef (see 78e5f810b7)

I worked around the issue by manually upgrading Chef (see 78e5f810b7)
greg changed title from WIP: Modernize kosmos-mediawiki cookbook to Modernize kosmos-mediawiki cookbook and upgrade Chef to 18 on wiki-1 2025-07-09 13:47:20 +00:00
raucao changed title from Modernize kosmos-mediawiki cookbook and upgrade Chef to 18 on wiki-1 to Modernize kosmos-mediawiki cookbook 2025-07-09 15:29:03 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/500-chef_upgrade_mediawiki:feature/500-chef_upgrade_mediawiki
git checkout feature/500-chef_upgrade_mediawiki
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kosmos/chef#600
No description provided.