debops / debops-tools

Your Debian-based data center in a box
https://debops.org/
GNU General Public License v3.0
1.07k stars 116 forks source link

.debops.cfg not applied to ansible.cfg #149

Open mbajur opened 8 years ago

mbajur commented 8 years ago

Hello everyone,

i'm trying to use DebOps (for debops-gitlab) for one of my new playbooks. I'm on OSX and i've found an issue ( #117 ) about the problem i'm facing. The issue is the same as in it but i'm not able to use another feature of debops (which is .debops.cfg file) so i decided to open a new issue.

Basically, as mentioned in #117, i should symlink Application Support/debops folder as /usr/local/share/debops (or whatever other path that suits me) and change that setting in the .debops.cfg file. The thing is, even after changing the paths in .debops.cfg [ansible default] block, running $ debops ... command still produces wrong paths in ansible.cfg.

I've set the new paths in .debops.cfg, in ~/.Library/Application Support/debps.cfg and even in /etc/debops.cfg but debops is still using some default values i have no idea where taken from.

Have you any idea what am i doing wrong ? Any help much appreciated.

xorgic commented 8 years ago

Hi mbajur.

The Library folder in OS X isn't hidden using the . it's hidden using the chflags hidden command, so the path you have written doesn't exists on OS X, but ~/Library/ exists. Debops doesn't use the /etc/debops.cfg on OS X according to the Documentation - configuration

So I would advise you to check the paths and the symlink.

Hope this helps.

mbajur commented 8 years ago

Thanks for your reply @xorgic . I wish that was it but that's actually a typo i made - there shouldn't be a dot before Library. I was obviously talking about ~/Library/Application Support/debops.cfg.

According to /etc/debops.cfg, i've just done it to make sure i've modified all files possible :) Never believed it's gonna work though