modules/mu/config/tail.rb in cloud-mu-3.1.5 vs modules/mu/config/tail.rb in cloud-mu-3.1.6
- old
+ new
@@ -131,9 +131,10 @@
# @param prefix [<String>]: A static String that should be prefixed to the stored value when queried
# @param suffix [<String>]: A static String that should be appended to the stored value when queried
# @param pseudo [<Boolean>]: This is a pseudo-parameter, automatically provided, and not available as user input.
# @param runtimecode [<String>]: Actual code to allow the cloud layer to interpret literally in its own idiom, e.g. '"Ref" : "AWS::StackName"' for CloudFormation
def getTail(param, value: nil, prettyname: nil, cloudtype: "String", valid_values: [], description: nil, list_of: nil, prefix: "", suffix: "", pseudo: false, runtimecode: nil)
+ param = param.gsub(/[^a-z0-9_]/i, "_")
if value.nil?
if @@parameters.nil? or !@@parameters.has_key?(param)
MU.log "Parameter '#{param}' (#{param.class.name}) referenced in config but not provided (#{caller[0]})", MU::DEBUG, details: @@parameters
return nil
# raise DeployParamError