Skip to content

Salt 3008 migration - #643

Open
RobHooper wants to merge 7 commits into
mainfrom
salt3008
Open

Salt 3008 migration#643
RobHooper wants to merge 7 commits into
mainfrom
salt3008

Conversation

@RobHooper

Copy link
Copy Markdown
Contributor

Resolves #491

@RobHooper RobHooper self-assigned this Aug 21, 2026
Comment thread salt/apache/init.sls
Comment thread salt/core/init.sls
pip:
pkg.installed:
- pkgs:
- python3-pip

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Installing pip as part of the core install. It is already on all but two servers, moving to salt-extensions will install it everywhere regardless.

Comment thread salt/core/init.sls
Comment on lines +26 to +28
- build-essential
- python3-dev
- install_recommends: False

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to review what is required.
Build-essential is needed for the Salt extensions to compile but may not be needed everywhere, it is a bulky package and I only want to install it if I need it.

L28 - install_recommends install build-essential and python3-dev so should be removed from here if we are installing them anyway.

@RobHooper

RobHooper commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

Todo before review + deployment:

  • Replace webutil
  • Test deployment with data before applying to live servers (deploying after database is already made etc)

Comment thread salt/core/swap.sls
cmd.run:
- name: |
fallocate -l {{ swap_size }}M {{ swap_path }}
fallocate -l {{ swap_diff }}M {{ swap_path }}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Allocating the difference between our desired swap size and the existing swap (such as separate swap partitions).
This is to prevent duplicate swap being set up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Salt 3008 migration

2 participants