Skip to content

Commit 68b8ba5

Browse files
committed
fix description of keep_local_changes
1 parent eb55a56 commit 68b8ba5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,12 @@ vcsrepo { '/path/to/repo':
174174
}
175175
~~~
176176

177-
To keep the repository at the latest revision, set `ensure` to 'latest'.
178177
**Note**: `keep_local_changes` works by stashing local changes, switching the repo to the assigned revision and, finally, unstashing the local changes.
179178
It only comes into effect if the revision parameter is different from the local repo. This parameter DOES NOT delete/purge local changes by default on every run.
180179

181-
**WARNING:** This overwrites any local changes to the repository.
180+
**WARNING:** This overwrites any conflicting local changes to the repository.
181+
182+
To keep the repository at the latest revision, set `ensure` to 'latest':
182183

183184
~~~ puppet
184185
vcsrepo { '/path/to/repo':

0 commit comments

Comments
 (0)