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

(PDB-4092) Use vardir prefix for DLO path #285

Merged

Conversation

austb
Copy link
Contributor

@austb austb commented Sep 18, 2018

Previously, the DLO path was hardcoded in with its default value. This
means that when attempting to clean a DLO store on a system using a
non-default location for vardir, the puppetdb module would attempt to
remove a directory that was not actually the DLO store (if it existed at
all).

Now, in accordance with how puppetdb selects the DLO store location, the
puppetdb module will use <vardir>/stockpile/discard/ as the DLO
location.

@austb austb force-pushed the bug/master/pdb-4092/fix_hardcoded_dlo_path branch 2 times, most recently from 435d244 to 36b7b58 Compare September 19, 2018 17:23
Previously, the DLO path was hardcoded in with its default value. This
means that when attempting to clean a DLO store on a system using a
non-default location for vardir, the puppetdb module would attempt to
remove a directory that was not actually the DLO store (if it existed at
all).

Now, in accordance with how puppetdb selects the DLO store location, the
puppetdb module will use `<vardir>/stockpile/discard/` as the DLO
location.
@austb austb force-pushed the bug/master/pdb-4092/fix_hardcoded_dlo_path branch from 36b7b58 to 8078672 Compare September 19, 2018 17:28
@Zak-Kent
Copy link
Contributor

LGTM, thanks

@Zak-Kent Zak-Kent merged commit 8cc999b into puppetlabs:master Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants