Skip to content

Commit

Permalink
Merge pull request #234 from jrha/restore_aii
Browse files Browse the repository at this point in the history
Revert "AII templates for tag 24.10.0-rc2"
  • Loading branch information
jrha authored Nov 8, 2024
2 parents 1a60c9f + e69e215 commit b72b6f2
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 0 deletions.
56 changes: 56 additions & 0 deletions quattor/aii/config.pan
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
################################################################################
# #
# Software subject to following license(s):
# Apache 2 License (http://www.opensource.org/licenses/apache2.0)
# Copyright (c) Responsible Organization
#

# #
# Current developer(s):
# Luis Fernando Muñoz Mejías <[email protected]>
# Ronald Starink <[email protected]>
#

# #
# Author(s): Michel Jouvin, Ben Jones, Gabor Gombas, Nick Williams, Stijn De Weirdt
#

# #
# server, 24.10.0-rc1, rc1_1, Tue Oct 08 2024
#
#
# This file is the standard aii configuration. It only performs some
# validations, combines information that is already available, and
# set sensible default values.
#
# This file should NOT contain any site or platform customization.
#
################################################################################

unique template quattor/aii/config;

include 'quattor/functions/network';
include 'quattor/functions/filesystem';
include 'quattor/aii/schema';

# First include AII site configuration, if any
variable AII_CONFIG_SITE ?= undef;
include if_exists(to_string(AII_CONFIG_SITE));

# For convenience
variable AII_DOMAIN ?= value('/system/network/domainname');
variable AII_HOSTNAME ?= value('/system/network/hostname');

# Configure AII plugins
variable AII_OSINSTALL_GEN ?= "quattor/aii/ks/config";
variable AII_NBP_GEN ?= "quattor/aii/pxelinux/config";

# Including the KS generator or equivalent
include AII_OSINSTALL_GEN;
# Including the PXE generator or equivalent
include AII_NBP_GEN;

# Include DHCP configuration
# Set AII_DHCP_CONFIG to null if DHCP configuratio is managed outside AII
variable AII_DHCP_CONFIG ?= "quattor/aii/dhcp/config";
include AII_DHCP_CONFIG;
25 changes: 25 additions & 0 deletions quattor/aii/rpms.pan
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# #
# Software subject to following license(s):
# Apache 2 License (http://www.opensource.org/licenses/apache2.0)
# Copyright (c) Responsible Organization
#

# #
# Current developer(s):
# Luis Fernando Muñoz Mejías <[email protected]>
# Ronald Starink <[email protected]>
#

# #
# Author(s): Michel Jouvin, Ben Jones, Gabor Gombas, Nick Williams, Stijn De Weirdt
#

# #
# server, 24.10.0-rc1, rc1_1, Tue Oct 08 2024
#

# Template adding aii-server rpm to the configuration

unique template quattor/aii/rpms;

"/software/packages" = pkg_repl("aii-server", "24.10.0-rc1_1", "noarch");
22 changes: 22 additions & 0 deletions quattor/aii/schema.pan
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# #
# Software subject to following license(s):
# Apache 2 License (http://www.opensource.org/licenses/apache2.0)
# Copyright (c) Responsible Organization
#

# #
# Current developer(s):
# Luis Fernando Muñoz Mejías <[email protected]>
# Ronald Starink <[email protected]>
#

# #
# Author(s): Michel Jouvin, Ben Jones, Gabor Gombas, Nick Williams, Stijn De Weirdt
#

# #
# server, 24.10.0-rc1, rc1_1, Tue Oct 08 2024
#
unique template quattor/aii/schema;


0 comments on commit b72b6f2

Please sign in to comment.