Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <Luis.Munoz@UGent.be>
# Ronald Starink <ronalds@nikhef.nl>
#

# #
# 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 <Luis.Munoz@UGent.be>
# Ronald Starink <ronalds@nikhef.nl>
#

# #
# 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 <Luis.Munoz@UGent.be>
# Ronald Starink <ronalds@nikhef.nl>
#

# #
# 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;


Loading