更新时间:2022-04-04 09:40:51
这一切都取决于您正在管理的操作规模。
It all depends on the scale of the operation you're managing.
如果位置数量很大和/或更改频繁,请使用数据库。
If the number of locations is large and/or changes are frequent, use a database.
否则,使用配置文件。
如果访问集中式数据库太慢或者不可接受的一个故障点,但是规模仍然很大,请使用像Puppet这样的自动化系统。
If access to a centralized database is too slow or unacceptably a point of failure, but the scale is still large, use an automated system like Puppet.