Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy_cache_dir defaults to /opt #192

Open
nvergottini opened this issue May 3, 2017 · 5 comments
Open

deploy_cache_dir defaults to /opt #192

nvergottini opened this issue May 3, 2017 · 5 comments

Comments

@nvergottini
Copy link

deploy_cache_dir defaults /opt, which does not seem like a good place for your jar files to land. Should this point to somewhere within the WildFly install home (/opt/wildfly/standalone/deployments?) or is this meant to be somewhere outside of the WildFly install home?

@jairojunior
Copy link
Collaborator

This is meant to be somewhere. It's just a dir for downloads.

This module do not use deployment-scanner for deployments ($WILDFLY_HOME/standalone/deployments), it uses Management API instead, for two reasons:

  • It works the same way for both execution modes (domain and standalone)
  • It provides a synchronous feedback about a deployment. (i.e. you know when it fails)

@nvergottini
Copy link
Author

Thanks. That clears it up. Just seems that /opt is not a good default.

@jairojunior
Copy link
Collaborator

It probably isn't, as /var/cache/wget

But it's been there since older releases and I couldn't find a better place. Do you have any suggestions? 😄

@nvergottini
Copy link
Author

Too bad Puppet doesn't provide a common place for file staging. How about /var/cache/biemond-wildfly?

@jairojunior
Copy link
Collaborator

Puppet has a vardir (https://docs.puppet.com/puppet/4.10/dirs_vardir.html) which I thought about, but don't think it's a good idea.

Something in /var/cache/ would be more appropriate, never thought about biemond-wildfly, but might be a good idea. Although I would rather use something generic that already exist. 🤔

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

No branches or pull requests

2 participants