Skip to content

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

Merged
Zak-Kent merged 1 commit into
puppetlabs:masterfrom
austb:bug/master/pdb-4092/fix_hardcoded_dlo_path
Sep 19, 2018
Merged

(PDB-4092) Use vardir prefix for DLO path#285
Zak-Kent merged 1 commit into
puppetlabs:masterfrom
austb:bug/master/pdb-4092/fix_hardcoded_dlo_path

Conversation

@austb

@austb austb commented Sep 18, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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