← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1704043] [NEW] Expose `sudo_file` parameter

 

Public bug reported:

At the moment the

def write_sudo_rules(self, user, rules, sudo_file=None):

function accepts custom `sudo_file` parameter, but it's invoked without
passing the third argument:

self.write_sudo_rules(name, kwargs['sudo'])

It would be great if the `kwargs['sudo_file']` was passed there

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1704043

Title:
  Expose `sudo_file` parameter

Status in cloud-init:
  New

Bug description:
  At the moment the

  def write_sudo_rules(self, user, rules, sudo_file=None):

  function accepts custom `sudo_file` parameter, but it's invoked
  without passing the third argument:

  self.write_sudo_rules(name, kwargs['sudo'])

  It would be great if the `kwargs['sudo_file']` was passed there

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1704043/+subscriptions


Follow ups