Skip to content

Commit

Permalink
Add CGSI GSOAP setting on FE
Browse files Browse the repository at this point in the history
  • Loading branch information
enricovianello committed Aug 6, 2024
1 parent 96d3863 commit e626798
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions data/frontend-defaults.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
storm::frontend::storm_frontend_server_conf_file: ''
storm::frontend::cgsi_trace: false
storm::frontend::db_user: 'storm'
storm::frontend::db_passwd: 'storm'
storm::frontend::port: 8444
Expand Down
6 changes: 5 additions & 1 deletion manifests/frontend.pp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
# @param log_debuglevel [String]
# Logging level. Possible values are: ERROR, WARN, INFO, DEBUG, DEBUG2. Default value: INFO.
#
# @param cgsi_trace [Boolean]
# Enable CGSI trace on '/tmp/tracefile'. Default: false
#
class storm::frontend (

String $storm_frontend_server_conf_file,
Expand All @@ -93,9 +96,10 @@

String $log_debuglevel,

Boolean $cgsi_trace,

String $be_xmlrpc_host = $fqdn,
String $db_host = $be_xmlrpc_host,

) {
contain storm::frontend::install
contain storm::frontend::config
Expand Down
5 changes: 5 additions & 0 deletions templates/etc/sysconfig/storm-frontend-server.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ X509_USER_KEY=/etc/grid-security/storm/hostkey.pem

LD_LIBRARY_PATH=<%=@ld_library_path%>

<%- if scope.lookupvar('storm::frontend::cgsi_trace') -%>
CGSI_TRACE=1
CGSI_TRACEFILE=/tmp/tracefile
<%- end -%>

CONFIGURATION_FILE=/etc/storm/frontend-server/storm-frontend-server.conf

0 comments on commit e626798

Please sign in to comment.