saltstack/salt — Issue #699: root_dirs prepend only on relative paths?
Author: teichopsia
Created: 2012-02-14 23:31:04+00:00
State: open

Hi,

it seems the use of root_dirs is prepended to other provided paths regardless of whether the latter are relative or absolute.

the traditional meaning of root_dirs implies a chdir/chroot to that directory and all other access is constrained to it (jail) or relative to it (chdir). was that the intent here?

```
root_dirs: /foo
pki_dir: /bar
```

pki_dir becoming /foo/bar is not exactly intuitive. prepend when 'pki_dir: bar' to make /foo/bar makes sense being relative.