blob: ce591acf217bffa7b690717ce94fa81ab38c9b32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
$NetBSD: patch-library_lineinfile,v 1.1 2013/02/26 00:13:00 hubertf Exp $
--- library/lineinfile.orig 2012-12-23 14:25:38.000000000 +0000
+++ library/lineinfile
@@ -82,6 +82,7 @@ options:
get the original file back if you somehow clobbered it incorrectly.
examples:
- code: "lineinfile: dest=/etc/selinux/config regexp=^SELINUX= line=SELINUX=disabled"
+ - code: "lineinfile: \\\"dest=/usr/pkg/etc/sudoers state=present regexp='^%wheel' line ='%wheel ALL=(ALL) NOPASSWD: ALL'\\\""
- code: 'lineinfile: dest=/etc/sudoers state=absent regexp="^%wheel"'
'''
|