chef plugin cloudify error while uploading blueprint -
i got error while trying validate , upload blueprint created using chef-plugin cloudify. importing chef-plugin.
and error looks like:
cloudifyclierror: failed validate blueprint my_blueprint.yaml: missing definition relationship cloudify.relationships.connected_to declared derived relationship cloudify.chef.connected_to
this how blueprint.yaml looks like:
tosca_definitions_version: cloudify_dsl_1_0 imports: - http://getcloudify.org/spec/chef-plugin/1.1/plugin.yaml node_templates: testserver: type: cloudify.chef.nodes.webserver properties: chef_config: version: 11.18.0 chef_server_url: url validation_client_name: chef-validator validation_key: "" node_name_prefix: chef-node- node_name_suffix: testserver.com environment: _default runlist: recipe[cookbook::recipe]
any appreciated.
you missing import of types.yaml
something along lines of
imports: - http://www.getcloudify.org/spec/cloudify/3.1/types.yaml
be sure check out chef plugin documentation @ http://getcloudify.org/guide/3.1/plugin-chef.html
if first attempt @ using cloudify, suggest starting here http://getcloudify.org/guide/3.1/quickstart.html , after you've got basics covered, proceed chef plugin.
Comments
Post a Comment