[root@chef-mjs study]# cat metadata.rb 

name 'study'

maintainer 'The Authors'

maintainer_email 'you@example.com'

license 'all_rights'

description 'Installs/Configures study'

long_description 'Installs/Configures study'

version '0.1.0'


depends 'apache2', '>= 1.0.4'


[root@chef-mjs study]# knife cookbook upload study 

Uploading study          [0.1.0]

ERROR: Cookbook study depends on cookbooks which are not currently

ERROR: being uploaded and cannot be found on the server.

ERROR: The missing cookbook(s) are: 'apache2' version '>= 1.0.4'


-> dependecy error 발생


- syntax

< (less than)

<= (less than or equal to)

= (equal to)

>= (greater than or equal to)

~> (approximately greater than)

> (greater than)




'공부하는 Study ' 카테고리의 다른 글

[chef] knife node, knife client 제거  (0) 2015.09.04
[chef] Berkshelf  (0) 2015.09.04
chef-DK  (0) 2015.09.04
SublimeText3 package control 관련  (0) 2015.06.10
RHCSA 준비 #2  (0) 2014.05.21
Posted by 뭉탁거림
,