Commit 73d73b52 authored by Nicolas Wavrant's avatar Nicolas Wavrant

Revert "slapconfiguration: returns also slapuser"

The recipe userinfo already provides this information

This reverts commit fd5f808b.
parent 597bcaa5
......@@ -27,7 +27,6 @@
import json
import os
import pwd
import slapos.slap
from slapos.recipe.librecipe import unwrap
......@@ -106,8 +105,6 @@ class Recipe(object):
anyway, and are available through "configuration" output key.
instance-state
The instance state.
slapuser
The username associated to the slappart.
"""
# XXX: used to detect if a configuration key is a valid section key. This
......@@ -125,8 +122,6 @@ class Recipe(object):
options['configuration.' + key] = value
def fetch_parameter_dict(self, options, instance_root):
options['slapuser'] = str(pwd.getpwuid(os.getuid()).pw_name)
slap = slapos.slap.slap()
slap.initializeConnection(
options['url'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment