-
Notifications
You must be signed in to change notification settings - Fork 53
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
Enabling/disabling syn with separate provisioners #165
Conversation
I just tried it and it works well for me. Thanks @dannylamb! |
@seth-shaw-unlv @whikloj Can either of you take a look at this one? |
I should be able to spin up a box for this in a few minutes. |
Hmmm... this didn't seem to work for me. I provisioned the box and went the the Fedora web UI and couldn't create a new container. Then I ran the command
The "sed can't read" messages are a bit disconcerting but I attempted to use the Fedora web UI again anyway. However, I still received the "HTTP Status 401 – Unauthorized" message when attempting to create a container. Then I remembered, at least on a CentOS box (which this is) we have the tomcat configs in |
So, adjusting the variables in the |
Hi @seth-shaw-unlv - yes, great idea. The script was written for default OS, so should probably be adjusted. |
I can try and template it out in post-install.yml. |
I'm templating this out here: https://github.com/Islandora-Devops/islandora-playbook/compare/iCampAZ?expand=1 |
Closing for now, this lives in the iCampAZ branch and we can dust it off next time we need it. |
GitHub Issue: Islandora/documentation#1431
What does this Pull Request do?
Lets you disable Syn for fcrepo on Vagrant builds. Its for demos and such.
What's new?
Two new shell provisioners, for disabling and enabling syn. This uses @bseeger's script here: https://gist.githubusercontent.com/bseeger/90c80d8f71e17ad4283765b2f88afaed/raw/55c82df5200b3a0c62af63d4f4d9845efce161b7/config-syn.sh
How should this be tested?
The provisioners never run unless explictly told to do so. So once you've
vagrant up'd
successfully, confirm that you can't create a container or upload a file through the Web UI athttp://localhost:8080/fcrepo/rest
. Then runvagrant provision --provision-with disable-syn
. This will disable Syn and restart Tomcat. You can confirm it works by creating a container or uploading a file through Fedora's UI.Interested parties
@bseeger @dwilcox @Islandora-Devops/committers