Skip to content

Commit

Permalink
Update the OS version definition for each server
Browse files Browse the repository at this point in the history
- Remove default version
- Make sure each test server has an entry defining its OS version
  • Loading branch information
jouvin committed Dec 11, 2024
1 parent 9120a21 commit f5686bd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
3 changes: 0 additions & 3 deletions clusters/grid/umd4/site/cluster_info.pan
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ variable ENABLE_MPI ?= false;
# phase and to reset it to false afterwards.
# You can also override the default value defined here in a specific profile.
variable AII_V2_INSTALL ?= false;

#
# OS version definition
#
variable NODE_OS_VERSION_DB = "site/os/version_db";
variable NODE_OS_VERSION_DEFAULT = "sl640-x86_64";


# Default repository configuration template for the cluster
variable PKG_REPOSITORY_CONFIG ?= 'repository/config';
Expand Down
39 changes: 22 additions & 17 deletions sites/example/site/os/version_db.pan
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ unique template site/os/version_db;

variable YUM_OS_DISTRIBUTION = {
# Default per OS version
SELF['el7'] = 'centos71';
SELF['el9'] = 'al9';
SELF['el8'] = 'al8';
SELF['el7'] = 'centos7';

# Explicit value per host name
SELF['ui.example.org'] = 'centos7';
Expand All @@ -24,22 +26,25 @@ variable YUM_OS_DISTRIBUTION = {


variable OS_VERSION = dict(
escape("cream.example.org"), "el7x-x86_64",
escape("dcache-head.example.org"), "el7x-i386",
escape("dcache-pool.example.org"), "el7x-i386",
escape("hydra.example.org"), "el7x-x86_64",
escape("lfc.example.org"), "el7x-x86_64",
escape("mon.example.org"), "el7x-x86_64",
escape("ui.example.org"), "el7x-x86_64",
escape("wmslb.example.org"), "el7x-x86_64",
escape("wn2.example.org"), "el7x-x86_64",
escape("xen-guest.example.org"), "el7x-x86_64",
escape("xen-host.example.org"), "el7x-x86_64",

escape("nagios-server.example.org"), "el7x-x86_64",
escape("nagios-master.example.org"), "el7x-x86_64",
escape("nagios-slave-A.example.org"), "el7x-x86_64",
escape("nagios-slave-B.example.org"), "el7x-x86_64",
# Grid cluster
'{apel.example.org}', 'el7x-x86_64',
'{argus.example.org}', 'el7x-x86_64',
'{bdii.example.org}', 'el7x-x86_64',
'{px.example.org.tpl.disabled}', 'el7x-x86_64',
'{se-dpm-disk2.example.org}', 'el7x-x86_64',
'{se-dpm-disk.example.org}', 'el7x-x86_64',
'{se-dpm-server.example.org}', 'el7x-x86_64',
'{topbdii.example.org}', 'el7x-x86_64',
'{ui.example.org}', 'el7x-x86_64',
'{wn2.example.org}', 'el7x-x86_64',
'{wn3.example.org}', 'el7x-x86_64',
'{wn.example.org}', 'el7x-x86_64',

# Misc cluster
'{nagios-server.example.org}', 'el7x-x86_64',
'{nagios-master.example.org}', 'el7x-x86_64',
'{nagios-slave-A.example.org}', 'el7x-x86_64',
'{nagios-slave-B.example.org}', 'el7x-x86_64',
);


Expand Down

0 comments on commit f5686bd

Please sign in to comment.