User story #2248
WebDAV password for sending inventories should be a system variable
Currently the password used to send inventories to the WebDAV share on the Rudder server is hard-coded in a system PT.
It should be a system variable and added to the configuration file, to enable easy changing of it. We could then use it in both the inventory PT and the distributePolicy PT (see #2211).
#3 Updated by Jonathan CLARKE almost 5 years ago
Matthieu CERDA wrote:
Do you mean a light integration using common variables in site.st or a configuration in Rudder directly ?
I mean a configuration in Rudder directly. This would allow us to change the setting in one central place, and possibly via the web interface in the future...
Maybe this isn't the best place though, do you have another idea?
#4 Updated by Matthieu CERDA almost 5 years ago
As of now, I think the web interface is the best place to set it, but we are likely to want a random password automatically generated at installation (it is only used by machines). It would be good to have a "renew the rudder inventory webdav access" button in the webapp that generate a random string then inserts it into a common variable on all the nodes and masters. Question is should we also allow a user entered password ?