Skip to content

Commit

Permalink
Merge pull request quattor#13 from jouvin/master
Browse files Browse the repository at this point in the history
Fix for too late execution of AII site config
  • Loading branch information
Piojo committed Apr 10, 2013
2 parents e6e3408 + f4a9779 commit c5271c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aii-core/src/main/pan/quattor/aii/config.pan
Expand Up @@ -18,11 +18,15 @@ include { 'quattor/functions/network' };
include { 'quattor/functions/filesystem' };
include { 'quattor/aii/schema' };

# First include AII site configuration, if any
variable AII_CONFIG_SITE ?= null;
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";

Expand Down Expand Up @@ -62,5 +66,3 @@ variable AII_DHCP_ADDOPTIONS ?= null;
# End of DHCP daemon configuration
###################################

variable AII_CONFIG_SITE ?= null;
include {if_exists(to_string(AII_CONFIG_SITE));};

0 comments on commit c5271c3

Please sign in to comment.