forked from quattor/template-library-examples
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use umd-4 rather than umd-3 - Use EL7 as the OS - Remove obsolete machine type (LFC, WMS) - Remove obsolete features
- Loading branch information
Showing
32 changed files
with
139 additions
and
301 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cluster.pan.includes=sites/example grid/umd-4 os quattor/23.9.0-rc1 standard | ||
cluster.pan.dep.ignore="" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,3 @@ include 'machine-types/example/se_dpm'; | |
# software repositories | ||
# | ||
include PKG_REPOSITORY_CONFIG; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,3 @@ include 'machine-types/example/se_dpm'; | |
# software repositories | ||
# | ||
include PKG_REPOSITORY_CONFIG; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# NOTE: This template should be the LAST thing included in a | ||
# machine profile. If you include packages after this template | ||
# then they will not be "resolved" and SPMA will not function | ||
# correctly. | ||
|
||
unique template repository/config; | ||
|
||
include'pan/functions'; | ||
|
||
include 'repository/snapshot/snapshot_variables'; | ||
|
||
# Repositories related to base OS and quattor client (should be first) | ||
include'repository/config/os'; | ||
|
||
# Quattor repositories | ||
include 'repository/config/quattor'; | ||
|
||
# Local Repositories | ||
variable YUM_SITE_SNAPSHOT_NS ?= YUM_SNAPSHOT_NS; | ||
variable SITE_REPOSITORY_LIST ?= list(); | ||
variable SITE_REPOSITORY_CONFIG ?= dict(); | ||
variable DEBUG = debug( | ||
'OS_REPOSITORY_LIST = ' + to_string(OS_REPOSITORY_LIST) + "\n" + | ||
'SITE_REPOSITORY_LIST = ' + to_string(SITE_REPOSITORY_LIST) + "\n" + | ||
'SITE_REPOSITORY_CONFIG = ' + to_string(SITE_REPOSITORY_CONFIG) + "\n" | ||
); | ||
include'quattor/functions/repository'; | ||
#'/software/repositories' = add_repositories(SITE_REPOSITORY_LIST,YUM_SITE_SNAPSHOT_NS); | ||
'/software/repositories' = add_repositories(SITE_REPOSITORY_LIST); | ||
'/software/repositories' = repository_config(SITE_REPOSITORY_CONFIG); | ||
|
||
# Repositories related to grid middleware | ||
# Only if it can be found in the loadpath (else this is a machine not | ||
# running the grid middleware) | ||
include if_exists('repository/config/grid'); | ||
|
||
# Repositories related to Nagios | ||
include if (is_defined(REPOSITORY_CONFIG_NAGIOS)) if_exists(REPOSITORY_CONFIG_NAGIOS); | ||
|
||
# Register repository changes with yum based spma | ||
include 'components/spma/config'; | ||
'/software/components/spma/register_change' = append('/software/repositories'); | ||
|
||
# Cleanup repository information | ||
include 'components/spma/repository_cleanup'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,38 @@ | ||
unique template repository/config; | ||
|
||
include {'pan/functions'}; | ||
include 'pan/functions'; | ||
|
||
# NOTE: This template should be the LAST thing included in a | ||
# machine profile. If you include packages after this template | ||
# then they will not be "resolved" and SPMA will not function | ||
# correctly. | ||
|
||
# Repositories related to base OS and quattor client (should be first) | ||
include {'repository/config/os'}; | ||
include 'repository/config/os'; | ||
|
||
# Quattor repository | ||
include { 'repository/config/quattor' }; | ||
include 'repository/config/quattor'; | ||
|
||
# Local Repositories | ||
variable YUM_SITE_SNAPSHOT_NS ?= YUM_SNAPSHOT_NS; | ||
variable SITE_REPOSITORY_LIST ?= list(); | ||
variable SITE_REPOSITORY_CONFIG ?= nlist(); | ||
variable DEBUG = debug('OS_REPOSITORY_LIST = ' + to_string(OS_REPOSITORY_LIST) + "\n" + | ||
'SITE_REPOSITORY_LIST = ' + to_string(SITE_REPOSITORY_LIST) + "\n" + | ||
'SITE_REPOSITORY_CONFIG = ' + to_string(SITE_REPOSITORY_CONFIG) + "\n"); | ||
include {'quattor/functions/repository'}; | ||
variable SITE_REPOSITORY_CONFIG ?= dict(); | ||
variable DEBUG = debug( | ||
'OS_REPOSITORY_LIST = ' + to_string(OS_REPOSITORY_LIST) + "\n" + | ||
'SITE_REPOSITORY_LIST = ' + to_string(SITE_REPOSITORY_LIST) + "\n" + | ||
'SITE_REPOSITORY_CONFIG = ' + to_string(SITE_REPOSITORY_CONFIG) + "\n" | ||
); | ||
include'quattor/functions/repository'}; | ||
#'/software/repositories' = add_repositories(SITE_REPOSITORY_LIST,YUM_SITE_SNAPSHOT_NS); | ||
'/software/repositories' = add_repositories(SITE_REPOSITORY_LIST); | ||
'/software/repositories' = repository_config(SITE_REPOSITORY_CONFIG); | ||
|
||
# Repositories related to grid middleware | ||
# Only if it can be found in the loadpath (else this is a machine not | ||
# running gLite like a non UI LAL server) | ||
include { if_exists('repository/config/grid') }; | ||
|
||
# Repositories related to Nagios | ||
variable REPOSITORY_CONFIG_NAGIOS ?= null; | ||
variable REPOSITORY_CONFIG_NAGIOS_INCLUDE = { | ||
if (exists(REPOSITORY_CONFIG_NAGIOS) && is_defined(REPOSITORY_CONFIG_NAGIOS)) { | ||
return(REPOSITORY_CONFIG_NAGIOS); | ||
} else { | ||
return(null); | ||
}; | ||
}; | ||
include { REPOSITORY_CONFIG_NAGIOS_INCLUDE }; | ||
include if (is_defined(REPOSITORY_CONFIG_NAGIOS)) if_exists(REPOSITORY_CONFIG_NAGIOS); | ||
|
||
# Register repository changes with yum based spma | ||
'/software/components/spma/register_change' = { | ||
if (is_defined(QUATTOR_RELEASE) && (QUATTOR_RELEASE >= '13.2')) { | ||
append('/software/repositories'); | ||
} else { | ||
SELF; | ||
}; | ||
}; | ||
include 'components/spma/config'; | ||
'/software/components/spma/register_change' = append('/software/repositories'); | ||
|
||
# Cleanup repository information | ||
include { 'components/spma/repository_cleanup' }; | ||
include 'components/spma/repository_cleanup'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.