Puppet 模块是否使用互联网安装软件?

Does Puppet module use internet to install sotware?

我打算使用 msoffice 模块来安装 MS Office,但是我打算安装它的机器没有互联网连接。该模块是否从需要有效互联网连接的网站下载安装程序?

Does the module download the installer from a website which in turn requires an active internet connection?

检查the module source would reveal that no, it does not. It relies on an image of the installation media for each product to be accessible via the target node's filesystem, and you would have to arrange for that separately. With respect to that, each of the user-facing classes and defined types provided by the module does have a parameter deployment_root,定义为:

The network location where the office installation media is stored

结果被用作路径前缀,显然是因为安装媒体可能位于可访问的网络共享(而非 Internet)上,而不是位于本地磁盘上。我想这种情况对于模块的用户来说是相当普遍的。

因此,拥有 Internet 连接与此模块没有直接关系,但能够访问安装媒体则完全是另一回事。