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

Where is the oscar config stored? #25

Open
lak opened this issue Apr 2, 2014 · 4 comments
Open

Where is the oscar config stored? #25

lak opened this issue Apr 2, 2014 · 4 comments

Comments

@lak
Copy link

lak commented Apr 2, 2014

The docs just say it can be configured, not where the configs are. How do I actually edit them?

It'd be awesome if the 'init' commands and such listed the paths they were editing.

@sennerholm
Copy link

Hi lak,
Check out the config directory, it should contain some .yaml files.

Sincerely
Mikael

@adrienthebo
Copy link
Member

At this point Oscar itself is mainly a suite of Vagrant plugins, and the majority of the work is done by those plugins. Configuration is handled by https://github.com/adrienthebo/vagrant-config_builder ; example configurations are given in the README of that project. In general Oscar is a bit weak in the documentation department, but I believe that there should be some real resources dedicated soon towards fixing this.

I agree that a list of templated files should be printed when vagrant oscar init or vagrant oscar init-vms runs; do you want to repurpose this ticket towards changing that? If not, is there anything else I can answer here?

@lak
Copy link
Author

lak commented May 13, 2014

Sorry, what's the config directory? Like, what's the actual, full path?

@Nr18
Copy link

Nr18 commented May 13, 2014

@lak the yaml files that @sennerholm is referring to are stored in a folder called config in the vagrant folder.

So if you do
mkdir ~/myAwesomeProject
cd ~/myAwesomeProject
vagrant oscar init-vms

The location of the yaml files are ~/myAwesomeProject/config

The auto_network config is located in: ~/.vagrant.d/auto_network/
The pe_builds packages are located in: ~/.vagrant.d/pe_builds/ and should contain the following filename puppet-enterprise-3.2.2-el-6-x86_64.tar.gz (You need to set the config/pe_build.yaml to version: 3.2.2)
The Oscar templates are located in: ~/.vagrant.d/gems/gems/oscar-0.3.1/templates

Hopes this helps

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

No branches or pull requests

4 participants