Reviewers: mp+211849_code.launchpad.net, Message: Please take a look. Description: Implement a helper function for sudo. Most of the local plugin helper commands will need to run as sudo. Instead of each writing their own code to handle this, provide a helper function. https://code.launchpad.net/~thumper/juju-core/local-ensure-root/+merge/211849 (do not edit description out of merge proposal) Please review this at https://codereview.appspot.com/78030044/ Affected files (+79, -4 lines): A [revision details] M cmd/plugins/local/export_test.go M cmd/plugins/local/main.go M cmd/plugins/local/main_test.go Index: [revision details] === added file '[revision details]' --- [revision details] 2012-01-01 00:00:00 +0000 +++ [revision details] 2012-01-01 00:00:00 +0000 @@ -0,0 +1,2 @@ +Old revision: tarmac-20140320011142-7ljymhlzvpq44apl +New revision: