Skip to content

Commit ea4495a

Browse files
committed
Remove unused "purgedirs" from documentation
purgedirs is only mentioned in the README.markdown file and the example configuration file. It is not used in the code. Instead, the code purges the basedir for each source
1 parent cf685c5 commit ea4495a

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

README.markdown

-13
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,6 @@ location is in /etc/r10k.yaml and can be specified on the command line.
232232
remote: '[email protected]:my-org/org-shared-modules'
233233
basedir: '/etc/puppet/environments'
234234

235-
# This directory will be purged of any directory that doesn't map to a
236-
# git branch
237-
:purgedirs:
238-
- '/etc/puppet/environments'
239-
240-
241235
Multiple git repositories can be specified, which is handy if environments are broken up by application.
242236
Application 1 could have its own environment repository with app1_dev, app1_tst, and app1_prd branches while
243237
Application 2 could have its own environment repository with app2_dev, app2_tst, app2_prd branches.
@@ -265,13 +259,6 @@ without being able to accidentally impact other groups.
265259
remote: '[email protected]:my-org/app2-environments'
266260
basedir: '/etc/puppet/environments'
267261

268-
# This directory will be purged of any directory that doesn't map to a
269-
# git branch
270-
:purgedirs:
271-
- '/etc/puppet/environments'
272-
273-
274-
275262
More information
276263
----------------
277264

r10k.yaml.example

-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@
33
:plops:
44
remote: '[email protected]:my-org/org-shared-modules'
55
basedir: '/etc/puppet/environments'
6-
7-
:purgedirs:
8-
- '/etc/puppet/environments'

0 commit comments

Comments
 (0)