Skip to content

Configurable baseDir and bastionBaseDir - #189

Merged
michaelsembwever merged 1 commit into
masterfrom
mck/bastion-baseDir
Nov 4, 2025
Merged

Configurable baseDir and bastionBaseDir#189
michaelsembwever merged 1 commit into
masterfrom
mck/bastion-baseDir

Conversation

@michaelsembwever

@michaelsembwever michaelsembwever commented Oct 15, 2025

Copy link
Copy Markdown
Contributor

Added to collector.conf

# Where will collection tarballs (and log file) be saved on the bastion
#bastionBaseDir="/tmp/datastax"

# Where will collector be copied to and the collection tarball be saved on each node
#baseDir="/tmp/datastax"

@BrandonBordeaux

Copy link
Copy Markdown

Looks good to me. However, I think Yasser Mohamed asked for this, so it'll be good to get his input whether it covers the use case he had in mind.

Comment thread ds-collector-tests/cluster-one-node-vanilla-ssh-docker.make
@yassermohamed81

Copy link
Copy Markdown

Looks good to me @michaelsembwever and just the comment for the make file for refactoring or optimization.

@michaelsembwever

Copy link
Copy Markdown
Contributor Author

thanks @yassermohamed81 , will take a look soon (haven't forgotten). doing too much scripting in the Makefile can be awkward, but improving it's checks and messaging is definitely warranted 👍

@michaelsembwever
michaelsembwever merged commit 81390ca into master Nov 4, 2025
3 checks passed
@michaelsembwever
michaelsembwever deleted the mck/bastion-baseDir branch November 4, 2025 10:47
@arodrime

arodrime commented Apr 2, 2026

Copy link
Copy Markdown

Ah! Happy to see this made it in! I had clusters with /tmp mounted as "no_exec". There is a long lasting debate about allowing or not execution of scripts through /tmp. Making baseDir configurable (and differentiating it from bastionBaseDir) was much needed and is appreciated ; I admit I did it locally without ever taking the time to do it "properly" to contribute it back. Will try to do better next time I have a chance to contribute.

Thanks @michaelsembwever for taking care of this repo (as well). 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants