Skip to content

Commit

Permalink
chore(dev): add RacksDB infra in agent conf
Browse files Browse the repository at this point in the history
When UI name is different from cluster name, add RacksDB infrastructure
name in agent configuration file.
  • Loading branch information
rezib committed Sep 20, 2024
1 parent f71a07e commit adf54f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev/conf/agent.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ db=dev/firehpc/db
schema=../RacksDB/schemas/racksdb.yml
drawings_schema=../RacksDB/schemas/drawings.yml
tags=compute
{% if infrastructure %}
infrastructure={{ infrastructure }}
{% endif %}

[cache]
enabled={{ cache_enabled }}
Expand Down
1 change: 1 addition & 0 deletions dev/setup-dev-environment
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ class SlurmwebAgent:
policy_path=self.policy_path,
redis_port=self.forwards["redis"].local,
redis_password=redis_password,
infrastructure=self.name if self.ui_name != self.name else None
)
)

Expand Down

0 comments on commit adf54f6

Please sign in to comment.