Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 573 Bytes

resource_package.md

File metadata and controls

19 lines (16 loc) · 573 Bytes

package

package is a resource to ensure a specified package is installed using the main package system on the target host OS (e.g. yum, apt, homebrew, ...).

Attributes

  • name - package name (required, type: String, e.g. "nginx")
  • options - additional command lien options (type: String, e.g. "--HEAD")
  • version - package version (type: String, some package systems don't support this)

Example

This is an example recipe to install mysql and nginx.

resources:
  - type: package
    name: mysql
  - type: package
    name: nginx