Hi,
I’m trying to automate setting the number of custom variables in our environments using puppet.
The standard way of doing this is cd-ing to the piwik installation directory and running
./console customvariables:set-max-custom-variables {some-number}
However this prompts for a confirmation. Supposedly I can do
./console -n customvariables:set-max-custom-variables 6
but this doesn’t work. The output I get is
Scope "Page"
1 new custom variables having the index(es) 6 will be ADDED
Scope "Visit"
1 new custom variables having the index(es) 6 will be ADDED
Scope "Conversion"
1 new custom variables having the index(es) 6 will be ADDED
but it doesn’t actually set the number of custom variables. Doing
./console customvariables:info
reveals I still have the old number of custom variables.
Or is there any other alternative I can use to set the number of custom variables?