'Install the nanny program.'

def InstallNanny(self):

    new_config = config.CONFIG.MakeNewConfig()
    new_config.SetWriteBack(config.CONFIG['Config.writeback'])
    for option in self.nanny_options:
        new_config.Set(option, config.CONFIG.Get(option))
    new_config.Write()
    args = [config.CONFIG['Nanny.binary'], '--service_key', config.CONFIG['Nanny.service_key'], 'install']
    logging.debug('Calling    %s', (args,))
    output = subprocess.check_output(args, shell=True, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
    logging.debug('%s', output)
