add --create and --ifexists options to line #342

Open
stephan wants to merge 2 commits from stephan/cdist:line_create_ifexists into master

2 commits