Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update with checkmarks


Table of Contents

Description

...

Starting with 6.4, SIMP's philosophy of handling SIMP Environments is changing:

Summary of SIMP ≥ 6.4 changes, by component
Anchor
summary_by_component
summary_by_component

...

Info
titleRelated article
Related article: SIMP 6.4+: Design `simp environment` command



MappingJira IssuesNotes

A1.2: simp env new|update ENVIRONMENT will copy files from %{prefix} to /var/simp/environments/${ENVIRONMENT}/ 

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6419

Status
subtletrue
colourGreen
titleSecondary Env
(tick)

A2.2: simp env new|update ENVIRONMENT runs a post-action step that applies SELinux fixfiles restore to the /var/simp/environments/${ENVIRONMENT}/ + subdirectories 

  • OmniEnvController calls #fix as part of #new
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6345
    • DirEnv#fix
      Jira Legacy
      serverSystem JIRA
      columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
      serverId45e63be1-2551-37a6-b050-86a38172f71d
      keySIMP-6408
      • SecondaryDirEnv#fix:
        Jira Legacy
        serverSystem JIRA
        columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
        serverId45e63be1-2551-37a6-b050-86a38172f71d
        keySIMP-6417

Status
subtletrue
colourYellow
titleOMNI Controller

Status
subtletrue
colourGreen
titleSecondary Env

(tick)

A2.3simp env fix ENVIRONMENT applies the correct SELinux contexts on demand  

  • simp env fix 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6408
  • DirEnv#fix + SecondaryDirEnv#fix: 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6417
Status
subtletrue
colourGreen
titleSecondary Env
(tick)

A3.2: (Related: A2.2simp env new|update ENVIRONMENT runs a post-action step that applies Puppet user settings & groups  to:

  • OmniEnvController delegates #fix to Env objects: 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6345
Status
subtletrue
colourYellow
titleOMNI Controller
(tick)
  • A3.2.1$codedir/environments/$ENVIRONMENT/ (group only)
Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6416
Status
subtletrue
colourBlue
titlePuppet Env
(tick)
  • A3.2.2/var/simp/environments/$ENVIRONMENT/site_files/ (group only)
Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6417
Status
subtletrue
colourGreen
titleSecondary Env
(tick)
  • A3.2.3: /opt/puppetlabs/server/data/puppetserver/simp/environments/$ENVIRONMENT(user + group)
Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6422
Status
subtletrue
colourGrey
titleWritable Env
 (error)
(tick)

A5.2: The simp env command will ensure the cacertkey during fix ENVIRONMENT and after new|update ENVIRONMENT.

  • SecondaryDirEnv#new
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6419
  • SecondaryDirEnv#fix: 
    • Status
      colourYellow
      titleISSUE TBD
      : should this be in #fix?
Status
subtletrue
colourGreen
titleSecondary Env
(tick)

A6.3: create new Extra/Omni environments on demand with simp environment new.

  • PuppetDirEnv#new: 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6418
  • SecondaryDirEnv#new: 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6419
  • WritableDirEnv#new: 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6421

Status
subtletrue
colourBlue
titlePuppet Env

Status
subtletrue
colourGreen
titleSecondary Env

Status
subtletrue
colourGrey
titleWritable Env
 


A7.2: Environments can be removed with simp env rm ENVIRONMENT

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6612

Status
subtletrue
colourBlue
titlePuppet Env

Status
subtletrue
colourGreen
titleSecondary Env


(tick)

B3.2: The simp env command will ensure the correct puppet permissions are set during fix ENVIRONMENT and after new|update ENVIRONMENT

  • B3.2.1: Note the changes above include several users, paths, and the digest algorithm.

  • B3.2.2: Note that these specific UID/GIDs may no longer be necessary.  Now that the simp command is setting them, it can just check what user is configured to own what files etc.

Status
titleDUPLICATE
 See A3.2 + children

  • Puppet: 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6416
  • Secondary: 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6417
  • Writable: 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6422


Status
subtletrue
colourBlue
titlePuppet Env

Status
subtletrue
colourGreen
titleSecondary Env

Status
subtletrue
colourGrey
titleWritable Env
 (error)

(tick)

C1.2: The command simp env new|update ENVIRONMENT will copy files from %{prefix}/???/rsync/ to /var/simp/environments/${ENVIRONMENT}/rsync/

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6419

Status
subtletrue
colourGreen
titleSecondary Env

Related to A1.2, but focuses on rsync/, which will have its own skeleton directory

(tick)

C2.1 The command simp env new|update ENVIRONMENT will copy files from %{prefix} to /var/simp/environments/${ENVIRONMENT}/rsync/

  • Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6419
  • Status
    colourYellow
    titleISSUE TBD
    : Look into basic DNS env
  • Status
    colourYellow
    titleISSUE TBD
    : Review RPM strangeness
Status
subtletrue
colourGreen
titleSecondary Env
(tick)C3.2: The simp env command will ensure the correct FACLS are set during fix ENVIRONMENT and after new|update ENVIRONMENT.
Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6417


Status
subtletrue
colourGreen
titleSecondary Env


C5.2:  The simp env command will ensure the correct symlinks (if any) are managed during  new|update|remove ENVIRONMENT
Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6620
Status
subtletrue
colourGreen
titleSecondary Env
(tick)D1.2: simp environment command would then install into the appropriate secondary environment directory, when these boot files exist.
Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6621
Status
subtletrue
colourGreen
titleSecondary Env


`simp config
Anchor
simp_cli_config_mappings
simp_cli_config_mappings


MappingJira IssuesNotes
(tick)

A6.2move the initial ISO install environment deploy logic into an early stage of simp config 

Uncomment OmniEnvContoller#create and integration test

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6533

  • (follows 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6418
    )

...


MappingJira IssuesNotes
(tick)

A1.1: simp-environment.spec installs all files to %{prefix}, and does not install files into %{_var}

Jira Legacy
serverSystem JIRA
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6311

(tick)

A2.1simp-environment.spec still provides SELinux policies for %{_var}

  • A2.1.1%build still builds SELinux module

  • A2.1.2: %post (initial install only) applies the initial installs' fixfiles restore to the top-level /var/simp 

  • A2.1.2: %post no longer applies fixfiles for separate subdirectories under /var/simp/environments/ 

    • See A2.2

  1. remove policies from simp-environment: 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-4379
  2. create new RPM:
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6559


A3.1 %post (initial install only) applies the Puppet user settings & groups at the top-level /var/simp 

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6614




A4.1:  (Related: E1Consolidate %post's yum repo creation logic into the existing script simp-utils:scripts/sbin/updaterepos

  • simp-environment RPM: 
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6402
  •  simp-utils RPM
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6514

See:  E1.1


A4.1.1: The two have slight differences between them that should be carried over into updaterepos

  •  simp-utils RPM
    Jira Legacy
    serverSystem JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-6522
See: simp-utils RPM/ E1.2
(tick)

A4.1.2:  Remove logic from RPM %post

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6402
  • createrepo removed in PR#23
    • The above pull request removed the yum repo stuff from simp-env but another ticket was opened to do the work in simp-utils.
(tick)

A5.1: remove cacertkey ensure logic from %post

Jira Legacy
serverSystem JIRA
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6311
patched in PR#22
(tick)

A6.1: remove `/usr/local/sbin/simp_rpm_helper --rpm_dir=%{prefix} --rpm_section='post' --rpm_status=$1 --preserve --target_dir='.'` from %post

Jira Legacy
serverSystem JIRA
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6311


patched in PR#22

(tick)

A7.1: remove `/usr/local/sbin/simp_rpm_helper --rpm_dir=%{prefix} --rpm_section='post' --rpm_status=$1 --preserve --target_dir='.'` from %postun

Jira Legacy
serverSystem JIRA
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6311
patched in PR#22

...


MappingJira IssuesNotes
(tick)

B1: keep this for now? (see discussion)

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6584
PR#15, undone by PR#17
(tick)

B2.1: remove this behavior from %post

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6125

(tick)

B3.1: Remove this behavior from %post

Incorporated into  
Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6607

...


MappingJira IssuesNotes
(tick)

D1.1Remove this logic.  No extra copy of files already located in /var/www/yum needed.

Jira Legacy
serverSystem JIRA
serverId45e63be1-2551-37a6-b050-86a38172f71d
keySIMP-6578


D1.2: simp environment command would then install into the appropriate secondary environment directory, when these boot files exist.

Status
colourYellow
titleISSUE TBD
: As of 5/14, this is debatable—it may install into the secondary environment skeleton


...

  • A1.) simp-environment.spec essentially installs to two filesystem roots:
    Anchor
    a_1
    a_1
    • SIMP ≤ 6.3 simp-environment 6.3.0:
      • %{prefix}/usr/share/simp/environments/simp/ )
      • %{_var} ( used to manage %{_var}/simp/environments/simp/ )
    • SIMP ≥ 6.4 Mappings:
      • A1.1: simp-environment.spec installs all files to %{prefix}, and does not install files into %{_var} 
        Anchor
        a_1_1
        a_1_1
                                                                                                            
      • A1.2: simp env new|update ENVIRONMENT will copy files from %{prefix} to /var/simp/environments/${ENVIRONMENT}/ 
        Anchor
        a_1_2
        a_1_2


  • A2.)  Provides SELinux policies for different /var/simp/ subdirectories so the various services can access files
    Anchor
    a_2
    a_2
    • SIMP ≤ 6.3 simp-environment 6.3.0:
    • SIMP ≥ 6.4 Mappings:
      • A2.1simp-environment.spec still provides SELinux policies for %{_var}
        • A2.1.1%build still builds SELinux module
        • A2.1.2: %post (initial install only) applies the initial installs' fixfiles restore to the top-level /var/simp 
        • A2.1.2: %post no longer applies fixfiles for separate subdirectories under /var/simp/environments/ 
          • See A2.2
        • A2.1.3: What should %uninstall do? Nothing special is required.
      • A2.2: simp env new|update ENVIRONMENT runs a post-action step that applies SELinux fixfiles restore to the /var/simp/environments/${ENVIRONMENT}/ + subdirectories 
        Anchor
        a_2_2
        a_2_2
      • A2.3simp env fix ENVIRONMENT reapplies the correct SELinux context on demand

  • A3.)  Sets Puppet user & group permissions based on the settings in puppet config print
    Anchor
    a_3
    a_3
    • SIMP ≤ 6.3 simp-environment 6.3.0:
      • Affects %{prefix} and %{_var} directory trees
    • SIMP ≥ 6.4 Mappings:
      • A3.1:  %post (initial install only) applies the Puppet user settings & groups at the top-level /var/simp 
      • A3.2: (Related: A2.2simp env new|update ENVIRONMENT runs a post-action step that applies Puppet user settings & groups  to
        • A3.2.1$codedir/environments/$ENVIRONMENT/ (group only)
        • A3.2.2/var/simp/environments/$ENVIRONMENT/site_files/ (group only)
        • A3.2.3/opt/puppetlabs/server/data/puppetserver/simp/environments/$ENVIRONMENT/ (user + group)
  • A4.)  %post creates a yum repo directory structure and runs createrepo under /var/www/yum/${os}/...
    Anchor
    a_4
    a_4
    • (info) This does not affect the secondary SIMP environment directories; it's under /var/www/yum
    • (warning) It's not clear why this logic is in simp-environment.spec, which doesn't seem to deliver these files.
    • SIMP ≥ 6.4 Mappings (None):
      • A4.1:  (Related: E1Consolidate %post's yum repo creation logic into the existing script simp-utils:scripts/sbin/updaterepos.
        • A4.1.1: The two have slight differences between them that should be carried over into updaterepos
        • A4.1.2:  Remove logic from RPM %post
  • A5.) On %post, ensures that the cacertkey (at %{_var}/simp/environments/simp/FakeCA/cacertkey) has some random gibberish in it if it doesn't exist. 
    Anchor
    a_5
    a_5
    • SIMP ≥ 6.4 Mappings:
      • A5.1: remove this behavior from %post
      • A5.2: The simp env command will ensure the cacertkey during fix ENVIRONMENT and after new|update ENVIRONMENT.

  • A6.) On %post, runs simp_rpm_helper 
    Anchor
    a_6
    a_6
    • SIMP ≤ 6.3 simp-environment 6.3.0:
      • Comment: # Needed for migrating the environment data into the codedir for an initial install
      • /usr/local/sbin/simp_rpm_helper --rpm_dir=%{prefix} --rpm_section='post' --rpm_status=$1 --preserve --target_dir='.'
    • SIMP ≥ 6.4 Mappings:
      • A6.1: remove this behavior from %post
      • A6.2: move the initial ISO install environment deploy logic into an early stage of simp config .
      • A6.3: create new Extra/Omni environments on demand with simp environment new.
  • A7.)  On %postun, runs simp_rpm_helper 
    Anchor
    a_7
    a_7
    • SIMP ≤ 6.3 simp-environment 6.3.0:
      • Comment: # Needed for cleaning up the data from codedir as appropriate for an erase
      • /usr/local/sbin/simp_rpm_helper --rpm_dir=%{prefix} --rpm_section='postun' --rpm_status=$1 --preserve --target_dir='.'
    • SIMP ≥ 6.4 Mappings:
      • A7.1: Remove from %postun
      • A7.2: Environments can be removed with simp env rm ENVIRONMENT

...

  • B2.)  simp-adapter 0.1.1 %post (install-only) logic (removed after 0.1.1) creates /etc/simp/adapter_config.yaml:
    Anchor
    b_2
    b_2
    • SIMP ≤ 6.3 simp-environment 6.3.0
      • Under the following conditions:

        • Only during a new RPM install ($1 -eq 1)

        • Only when the Linux kernel contained simp install (e.g., a SIMP ISO installation)

      • %post will create %{prefix}/adapter_config.yaml with the following content:

        # This file was modified by simp-adapter during a SIMP install
        # on ${date}:
        target_directory: 'auto'
        copy_rpm_data: true

    • SIMP ≥ 6.4 Mappings:
      • B2.1: remove this behavior from %post

  • B3.) simp-adapter 0.1.1 %post logic fixes problems with Puppet RPMs:
    Anchor
    b_3
    b_3
    • SIMP ≤ 6.3 simp-environment 6.3.0
      • For FOSS puppetserver (install or upgrade)
        • Nails up puppet user UID and GID to 52, changing the UID/GID if the installed ids are incorrect.
        • Fixes permissions of /opt/puppetlabs//etc/puppetlabs/var/log/puppetlabs/, and /var/run/puppetlabs/ to match the nailed UID/GID
        • Restarts puppetserver to pick up changes.
        • Creates puppdetdb user and group
      • Sets the digest algorithm used by puppet to sha256 (install or upgrade)
      • Install-only, fixes the permissions of puppet-agentpuppetserver, and puppetdb directories
    • SIMP ≥ 6.4 Mappings:
      • B3.1: Remove this behavior from %post
      • B3.2: The simp env command will ensure the correct puppet permissions are set during fix ENVIRONMENT and after new|update ENVIRONMENT
        Anchor
        b_3_2
        b_3_2
        • B3.2.1: Note the changes above include several users, paths, and the digest algorithm.
        • B3.2.2: Note that these specific UID/GIDs may no longer be necessary.  Now that the simp command is setting them, it can just check what user is configured to own what files etc.

...

  • C1.) RPM delivers a directory tree directly under /var/simp/environments/simp/rsync/
    Anchor
    c_1
    c_1
    • SIMP ≤ 6.3 simp-rsync 6.2.1:
    • SIMP ≥ 6.4 Mappings:
      • C1.1:  The simp-rsync RPM only delivers files to %{prefix}, which is now /usr/share/simp/environment_templates/rsync/
        • C1.1.1: Change Prefix:%{prefix} to /usr/share/simp/environment_templates/rsync/
        • C1.1.2: Change any references to %{rsync_dir} from all RPM scriptlets 
      • C1.2: The command simp env new|update ENVIRONMENT will copy files from %{prefix} to /var/simp/environments/${ENVIRONMENT}/rsync/
  • C2.) %pre has strange logic
    Anchor
    c_2
    c_2
    • SIMP ≤ 6.3 simp-rsync 6.2.1:
      • Pre-removes directories under {%rsync_dir}/ ("# Remove the directories that we're going to replace with symlinks")
      • (warning)  Includes a "# Make sure upgrades work properly!" section that looks like it might try to symlink the LICENSE file as a directory if the default directory is missing under bind_dns/.

        • This looks like a bug in the logic
    • SIMP ≥ 6.4 Mappings:
      • (question) (nice-to-have, for later): Should we expose arguments to template the skeleton DNS environment when it is copied/updates?
      • C2.1: The command simp env new|update ENVIRONMENT will copy files from %{prefix} to /var/simp/environments/${ENVIRONMENT}/rsync/
        • This should include any logic needed to ensure a basic DNS environment
      • C2.2: Remove %pre logic
  • C3.) %post runs setfacl --restore on {%rsync_dir}, using the delivered .rsync.facl file.
    Anchor
    c_3
    c_3
    • SIMP ≤ 6.3 simp-rsync 6.2.1:
      • %{rsync_dir}/var/simp/environments/simp/rsync
      • The rsync.facl definitions use relative paths
    • SIMP ≥ 6.4 Mappings:
      • (info) The simp-rsync RPM only delivers files to %{prefix} (/usr/share/simp/environment_templates/rsync/); see C1.1
      • C3.1:  Move rsync.facl into %{prefix} (/usr/...), like the rest of the %files
      • C3.2: The simp env command will ensure the correct FACLS are set during fix ENVIRONMENT and after new|update ENVIRONMENT.
      • C3.3: Remove from %post
  • C4.) %post deletes all *.rpmnew files under {%rsync_dir}/
    Anchor
    c_4
    c_4
    • SIMP ≤ 6.3 simp-rsync 6.2.1:
      • This was a workaround to problems associated with C1 (delivering files to /var/simp/environments/simp/rsync/ as %config)
        • Example problem: rsyncing meaningless *.rpmnew files to hosts that have no use for them
    • SIMP ≥ 6.4 Mappings:
      • (info) The SIMP ≤ 6.3 workaround should not be necessary now because:
        • the RPM delivers a skeleton to somewhere under /usr/share/simp/, which is not an rsync source.
        • the files no longer need to be %config, so .rpmnew files won't get generated, anyway
      • C4.1: Remove logic from %post
        • Prerequisites: C1.1 and C1.2

  • C5.) RPM scriptlets auto-ensure that all directories called RedHat have a CentOS symlink under /var/simp/environments/simp/rsync
    Anchor
    c_5
    c_5
    • SIMP ≤ 6.3 simp-rsync 6.2.1:
      • %post symlinks RedHat directories to CentOS under {%rsync_dir}/
        • (warning) The scriptlets will add a symlink to any directory named RedHat, regardless of its location (buggy logic)
      • %preun deletes any symlinks named CentOS under {%rsync_dir}/
        • (warning) The scriptlets will delete a CentOS symlink in any directory named RedHat, regardless of its subdirectory (buggy logic)
    • SIMP ≥ 6.4 Mappings:
      • C5.1: Remove logic from %post and %preun 
        Anchor
        c_5_1
        c_5_1
        • Prerequisites: C1.1 and C1.2
      • C5.2: The simp env command will ensure the correct symlinks (if any) are managed during  new|update|remove ENVIRONMENT.

  • C6.) RPM scriptlets auto-ensure that all directories called RedHat have a CentOS symlink under /var/simp/environments/simp/rsync 
    Anchor
    c_6
    c_6
    • SIMP ≥ 6.4 Mappings:
      • See C5.1

simp-core (6.3.3) [Analyzed, Mapped: 2/2]

  • D1.) ISO auto.cfg
    Anchor
    d_1
    d_1
  • D2.)  %post in simp.spec
    Anchor
    d_2
    d_2
    • SIMP ≥ 6.4 Mappings:
      • D2.1: Remove obsolete hiera_upgrade script (SIMP-6507)

...

What happens during an upgrade?

Reference

...