Commit graph

9 commits

Author SHA1 Message Date
Brian Coca
50905e5673 fixed typos in cryptab, thanks @timw fixes #1176 2016-12-08 11:33:30 -05:00
Steve
fea8995df1 Fix bug #1105 - incorrect use of lstrip()
Remove only the literal prefix '/dev/mapper/' - not any of the characters
in '/dev/mapper/' - from the name param of the crypttab module.
2016-12-08 11:33:27 -05:00
Greg DeKoenigsberg
c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Brian Coca
2753cd186a moar quotes 2016-12-08 11:32:39 -05:00
Matt Martz
42bca5398b Use try/finally with file opening to close the file 2016-12-08 11:32:36 -05:00
Matt Martz
8bd5757720 Fix up modules that have python24 syntax error 2016-12-08 11:32:36 -05:00
Yuri Kunde Schlesner
c3940f16eb crypttab: Fix parameter checking with state=absent
Only the `name` parameter is required when removing an entry, but the module tried to ensure at least one other parameter was set.
2016-12-08 11:32:32 -05:00
Toshio Kuratomi
03be4fc2cb Don't know why but the 1.8.x branch didn't include the commit for crypttab.
Update documentation to show it is new in 1.9 as a result of that
oversight.
2016-12-08 11:32:28 -05:00
Steve
2cb1176bc2 New crypttab module for editing Linux /etc/crypttab file 2016-12-08 11:32:20 -05:00