Skip to content

Commit

Permalink
4.3: trad 2 salt #23242 keichwa (#2697) (#2712)
Browse files Browse the repository at this point in the history
* Traditional to Salt migration
SUSE/spacewalk#23242
* Update modules/client-configuration/pages/system-types.adoc
  • Loading branch information
keichwa authored Jan 18, 2024
1 parent 0575943 commit d9eab87
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .changelog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# - Fixed error in Bat section of Upgrade Guide (bsc#1234567)
# For guidelines: https://en.opensuse.org/openSUSE:Creating_a_changes_file_(RPM)#Changelog_section_.28.25changelog.29

- Removed obsolete traditional to Salt migration documentation from the
System Types section of the Client Configuration Guide and updated
the Migrate traditional clients to Salt clients section
- Fixed navigation bar of Client Configuration Guide (bsc#1218089)
- Documented migrating from traditional to Salt client in Client
Configuration Guide
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[[contact-methods-migrate-trad]]
= Migrate traditional clients to {salt} clients

To migrate a system from a traditional client to a {salt}, user can create the {salt} bootstrap script and re-register the client system with it.
To migrate a system from a traditional client to a {salt}, the user can create a {salt} bootstrap script and re-register the client system with it.

This could be done with three procedures:
* create a bootstrap script,
* modify the bootstrap script, and
This could be done with three procedures:

* create a bootstrap script,
* modify the bootstrap script, and
* run the bootstrap script to register the client.


Expand All @@ -28,6 +29,8 @@ First you create a bootstrap script with the {webui} as a template.
https://<example.com>/pub/bootstrap/bootstrap.sh
----

For creating a bootstrap script at the command line, see xref:client-configuration:registration-bootstrap.adoc#registering.clients.bootstrap.mgr-bootstrap[].



== Modify bootstrap script
Expand Down Expand Up @@ -88,7 +91,7 @@ As the final step, run the bootstrap script to migrate and register clients.

.Procedure: Running the bootstrap script

. On the {productname} Server, log in as root.
. On the {productname} Server, sign in as root.
At the command prompt, change to the bootstrap directory:
+

Expand All @@ -97,7 +100,7 @@ cd /srv/www/htdocs/pub/bootstrap/
----
+

. Run the following command to execute the bootstrap script on the client.
. Run the following command to execute the bootstrap script on the client.
Replace [systemitem]``EXAMPLE.COM`` with the hostname of your client:
+

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ If you register openSUSE Leap 15 or SLE 15 systems using Python 2, the bootst



[[registering.clients.bootstrap.mgr-bootstrap]]
== Create a Bootstrap Script with [command]``mgr-bootstrap``

The [command]``mgr-bootstrap`` command generates custom bootstrap scripts.
Expand Down
7 changes: 7 additions & 0 deletions modules/client-configuration/pages/system-types.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ This deletes any customization or configuration on the client, however event his
It also requires client downtime.
====

For migrating a traditional client to a Salt client, see xref:client-configuration:contact-methods-migrate-traditional.adoc[].


////
2023-12-19, keichwa: The rest is commented. If needed copy information
bits to contact-methods-migrate-traditional.adoc
== Change a Traditional Client to Salt Using the {webui}
The simplest method to change a traditional client to a Salt client is to re-register it with the {webui}.
Expand Down Expand Up @@ -62,3 +68,4 @@ rhnmd
. Use your preferred registration method to re-register the client as a Salt client.
+
When the client has completed registration, it shows in the [guimenu]``Systems List`` with the system type ``Salt``.
////

0 comments on commit d9eab87

Please sign in to comment.