chef-boneyard / chef-web-docs-2016

DEPRECATED - All The Documentation
Other
74 stars 149 forks source link

windows_package LWRP documentation is missing options #134

Closed juliandunn closed 9 years ago

juliandunn commented 11 years ago

We have a page at http://docs.opscode.com/lwrp_windows.html that documents the windows_package resource, but it is missing some options with respect to the documentation on GitHub. The full list of supported attributes is:

    package_name: name attribute. The 'DisplayName' of the application installation package.
    source: The source of the windows installer. This can either be a URI or a local path.
    installer_type: They type of windows installation package. valid values are: :msi, :inno, :nsis, :wise, :installshield, :custom. If this value is not provided, the provider will do it's best to identify the installer type through introspection of the file.
    checksum: useful if source is remote, the SHA-256 checksum of the file--if the local file matches the checksum, Chef will not download it
    options: Additional options to pass the underlying installation command
    timeout: set a timeout for the package download (default 600 seconds)
    version: The version number of this package, as indicated by the 'DisplayVersion' value in one of the 'Uninstall' registry keys. If the given version number does equal the 'DisplayVersion' in the registry, the package will be installed.
    success_codes: set an array of possible successful installation return codes. Previously this was hardcoded, but certain MSIs may have a different return code, e.g. 3010 for reboot required. Must be an array, and defaults to [0, 42, 127].
jamescott commented 10 years ago

I updated the topic to include some context for the options attribute. How is this?

http://docs.opscode.com/lwrp_windows.html#windows-package

juliandunn commented 10 years ago

Hi @jamescott,

Looking good. Couple of comments:

Thanks James!

jamescott commented 10 years ago

Ah!

https://github.com/opscode/chef-docs/commit/4ac18faa3649154d81cfd4f0020f3ea13b25b1b4

jamescott commented 10 years ago

Updated: http://docs.opscode.com/lwrp_windows.html#windows-package