karamelchef / karamel

Reproducing Distributed Systems and Experiments on Cloud
http://www.karamel.io
Apache License 2.0
39 stars 22 forks source link

error: all used attributes must be defined in metadata.rb files #176

Open saltehb opened 7 years ago

saltehb commented 7 years ago

Hi I'm new in Karamel. when i load any one of example YAML files it says: Invalid attributes, all used attributes must be defined in metadata.rb files: [...]

I have downloded a metadata.rb from Marc Bux's HIWAY but i dont know where to put it or how to use it. Help me please! thanks in advance

jimdowling commented 6 years ago

The attributes defined in the cluster defn file should also be defined in the cookbook's metadata.rb file. If they are not, you will get this error.

ConeyLiu commented 5 years ago

I just trying to load the example YAML files and got the same issue. One question here is: what extra step should I do. I see the cookbook is depending on the following:

cookbooks:
     hopsworks:
     github: "logicalclocks/hopsworks-chef"
     branch: "master"

Should those attributes be defined already?