Служит для контроля версий, для указания автора
Версия состоит из MAJOR.MINOR.PATCH
MAJOR — новые возможности, не совместимые с предыдущей версией (incompatible)
MINOR — новые возможности, но полностью совместимы со старой версией (backwards-compatible)
PATH — это фиксы багов к текущей версии
Пример файла
name 'custom_apache' maintainer 'Chef Software, Inc.' maintainer_email 'training@chef.io' license 'Apache-2.0' description 'Installs Apache HTTP Server and manages the service.' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.2.0' supports 'ubuntu' issues_url 'https://github.com/learn-chef/custom_apache/issues' source_url 'https://github.com/learn-chef/custom_apache' chef_version '>= 12.7' if respond_to?(:chef_version)
description
— описание кукбука
supports — какие операционные системы поддерживаются
long_description
— читает файл README.md
0 Comment