# See docstring of slapos.cookbook:slapconfiguration for more information.
# See docstring of slapos.cookbook:slapconfiguration for more information.
recipe = slapos.cookbook:slapconfiguration
recipe = slapos.cookbook:slapconfiguration
computer = $${slap_connection:computer_id}
computer = $${slap-connection:computer-id}
partition = $${slap_connection:partition_id}
partition = $${slap-connection:partition-id}
url = $${slap_connection:server_url}
url = $${slap-connection:server-url}
key = $${slap_connection:key_file}
key = $${slap-connection:key-file}
cert = $${slap_connection:cert_file}
cert = $${slap-connection:cert-file}
# Define default parameter(s) that will be used later, in case user didn't
# specify it.
[slap-configuration]
# All possible parameters should have a default.
# apache-frontend reads from a part named [slap-configuration]
# In our use case, we are expecting from the user to specify one (optional) parameter: "name". We put the default value here if he doesn't specify it, so that it doesn't crash.