fixup note lint in file.replace state mod

This commit is contained in:
Justin Findlay 2015-08-20 17:06:45 -06:00
parent 332535f2e6
commit 662e723ae0

View file

@ -2489,10 +2489,13 @@ def replace(name,
# <...snip...>
- pattern: |
CentOS \(2.6.32[^\n]+\n\s+root[^\n]+\n\)+
'''
.. note::
When using YAML multiline string syntax in ```pattern:```, make sure to also use that syntax in the ```repl:``` part, or you might loose line feeds.
'''
When using YAML multiline string syntax in ``pattern:``, make sure to
also use that syntax in the ``repl:`` part, or you might loose line
feeds.
'''
name = os.path.expanduser(name)
ret = {'name': name, 'changes': {}, 'result': True, 'comment': ''}