mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
commit
7da87fabf1
1 changed files with 6 additions and 0 deletions
|
@ -2489,6 +2489,12 @@ 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.
|
||||
'''
|
||||
name = os.path.expanduser(name)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue