Puppet 安装 Visual Studio 每个 运行
Puppet Install Visual Studio Every Single Run
我想使用 Puppet 安装 Visual studio,但是在每个 Puppet 运行 上,安装程序都会一遍又一遍地安装 VS。
package { 'Microsoft Visual Studio 2012':
ensure => installed,
source => '\goliath\Users\DanishKhakwani\VisualStudio\Premium\vs_premium.exe',
install_options => ['/SILENT', '/FULL'],
}
您需要确保 Visual Studio 的 package name exactly matches the display name。
为了后代:
The title (or name) of the package must match the value of the package’s DisplayName property in the registry, which is also the value displayed in the “Add/Remove Programs” or “Programs and Features” control panel.
If the provided name and the installed name don’t match, Puppet will believe the package is not installed and try to install it again.
我想使用 Puppet 安装 Visual studio,但是在每个 Puppet 运行 上,安装程序都会一遍又一遍地安装 VS。
package { 'Microsoft Visual Studio 2012':
ensure => installed,
source => '\goliath\Users\DanishKhakwani\VisualStudio\Premium\vs_premium.exe',
install_options => ['/SILENT', '/FULL'],
}
您需要确保 Visual Studio 的 package name exactly matches the display name。
为了后代:
The title (or name) of the package must match the value of the package’s DisplayName property in the registry, which is also the value displayed in the “Add/Remove Programs” or “Programs and Features” control panel.
If the provided name and the installed name don’t match, Puppet will believe the package is not installed and try to install it again.