-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include an archetype preface template in the plenary object
- Only if object_declarations_template option is true: default=false (true in aqd.conf.noms) - Template must be archetype/declarations (intended to define LOADPATH mainly) - It is the first executed template in the plenary object - Implemented for host, cluster and metacluster Fixes #86 Change-Id: I7e57401fc82bfbc5af21d3d07efe543e999c23e6
- Loading branch information
Showing
6 changed files
with
180 additions
and
0 deletions.
There are no files selected for viewing
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 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,150 @@ | ||
# This config file is for running the broker outside of MS where no afs available. | ||
# Modify tool_locations and other configuration sections to provide appropriate values | ||
# before moving config to /etc/aqd.conf (or other location defined as AQDCONF env variable). | ||
|
||
############################################################################### | ||
|
||
[DEFAULT] | ||
basedir = /pdisk | ||
vardir = %(quattordir)s/var | ||
# The broker does not rely on 'user' for anything security-related... | ||
# user = # config.py supplies os.environ.get("USER") as a default | ||
# srcdir = # config.py supplies a custom _get_srcdir() as a default | ||
# hostname = # config.py supplies socket.gethostname() as a default | ||
|
||
[broker] | ||
# Default Organization model name value | ||
default_organization = AquilonOrg | ||
|
||
# Directory for log files | ||
logdir = %(vardir)s/logs | ||
|
||
rundir = %(vardir)s/run | ||
|
||
# Aquilon keytab location | ||
keytab = %(vardir)s/keytab/%(service)s | ||
|
||
# Database file containing info about shares | ||
sharedata = | ||
|
||
# Git daemon related options | ||
run_git_daemon = True | ||
git_daemon_basedir = %(basedir)s | ||
|
||
# Used by refresh_grns | ||
grn_to_eonid_map_location = | ||
|
||
# Could be repaced with /etc/passwd, used by refresh_user | ||
user_list_location = | ||
|
||
############################################################################### | ||
|
||
[database] | ||
database_section = database_postgresql | ||
#database_section = database_sqlite | ||
|
||
[database_postgresql] | ||
dbname = aquilon | ||
|
||
[database_sqlite] | ||
dbfile = /pdisk/aquilon/db/aquilon.db | ||
|
||
############################################################################### | ||
|
||
[dsdb] | ||
enable = False | ||
|
||
############################################################################### | ||
|
||
[tool_locations] | ||
# If option is set to empty value | ||
# tool will default to binary available in PATH | ||
|
||
# Not Applicable outside MS | ||
dsdb = /bin/true | ||
|
||
# default to binary available in PATH | ||
ssh = | ||
|
||
# Network related tools | ||
switch_discover = | ||
# Raw Network data used by refresh_network command | ||
qip_dump_subnetdata = | ||
# Used in poll_net_device command, path to binary | ||
vlan2net = | ||
|
||
# default to binary available in PATH | ||
# Used by poll network device command | ||
get_camtable = | ||
|
||
# Used by pxeswitch command | ||
aii_installfe = | ||
|
||
# Used by get command | ||
mean = %(srcdir)s/tests/fakebin/fake_mean | ||
|
||
# Git config | ||
# default to binary available in PATH | ||
git = | ||
git_daemon = /usr/libexec/git-core/git-daemon | ||
|
||
# default to binary available in PATH | ||
knc = | ||
|
||
# Kerberos config | ||
# default to binary available in PATH | ||
krb5_keytab = | ||
klist = | ||
|
||
# Path to Authorisation service | ||
aqd_checkedm = /bin/true | ||
|
||
# Java config | ||
# default to binary available in PATH | ||
java_home = | ||
ant_home = /usr/share/ant | ||
ant_contrib_jar = /usr/share/java/ant/ant-contrib.jar | ||
ant = | ||
|
||
location_uri_validator = /bin/true | ||
|
||
############################################################################### | ||
|
||
[panc] | ||
|
||
# The update_domain command expects to be able to read this value | ||
# in raw mode and set the version variable itself. | ||
pan_compiler = /usr/lib/panc.jar | ||
# Option passed to panc the output format that it uses | ||
xml_profiles = false | ||
json_profiles = true | ||
gzip_output = false | ||
# Assume the webserver will decompress transparently as needed. | ||
# only used if gzip_output = true | ||
transparent_gzip = true | ||
template_extension = .pan | ||
include_pan = false | ||
|
||
############################################################################### | ||
|
||
[site] | ||
# Site specific settings | ||
default_hardware_label_regex = ^[a-z][a-z0-9]{,62}$ | ||
|
||
############################################################################### | ||
|
||
# Interface types that require specific names should be added as key for this | ||
# configuration section. If an interface type is not specified here, | ||
# any interface name format will be allowed | ||
[interface_name_regex] | ||
# Interface model name field validation regex | ||
public = ^[a-z]+\d+[a-z]?$ | ||
management = ^[a-z]+\d*$ | ||
vlan = ^[a-z]+\d*\.[1-9]\d*$ | ||
# Linux: ncm-networks wants "bond.*", but Netapp is more relaxed | ||
bonding = ^[a-z]+\d+$ | ||
|
||
############################################################################### | ||
|
||
[protocols] | ||
directory = /pdisk/quattor/.venv/lib/python2.7/site-packages |
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 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 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 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