Skip to content

Commit 6c13abe

Browse files
authored
Merge branch 'master' into kpaulisse-frozen-string-literal
2 parents 30d15f4 + a067711 commit 6c13abe

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

doc/advanced-hiera-path-stripping.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ bin/octocatalog-diff --hiera-config hiera.yaml --hiera-path-strip /etc/puppetlab
3737
:yaml:
3838
:datadir: /var/tmp/puppet-compile-dir-92347829847/environments/%{environment}/hieradata
3939
```
40+
41+
:warning: Be sure that you do NOT include a trailing slash on `--hiera-path-strip` or `settings[:hiera_path_strip]`.

examples/octocatalog-diff.cfg.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def self.config
5656
# In this case, you desire to strip `/etc/puppetlabs/code` from the beginning of the path,
5757
# in order that octocatalog-diff can find your hiera datafiles in the compilation
5858
# location, which is {temporary directory}/environments/production/hieradata.
59+
# If you use this, be sure that you do NOT include a trailing slash!
5960
#
6061
# More: https://github.com/github/octocatalog-diff/blob/master/doc/configuration-hiera.md
6162
##############################################################################################

0 commit comments

Comments
 (0)