I am trying to add a number to a parameter inside a puppet template as shown below
"https://localhost:<%= 9443 + @offset %>/service/"
This gives me the following error.
Details: A string cannot be forced into Fixnum
'offset' is a numeric value. Is it possible to perform such arithmetic operations in the puppet?
source share