Chef infra 上传蓝图时出现chef插件cloudify错误

Chef infra 上传蓝图时出现chef插件cloudify错误,chef-infra,cloudify,Chef Infra,Cloudify,我在尝试验证和上传使用Cloudify的chef插件创建的蓝图时出错。我正在导入厨师插件 错误如下所示: CloudifyCliError: Failed to validate blueprint my_blueprint.yaml: Missing definition for relationship cloudify.relationships.connected_to which is declared as derived by relationship cloudify.chef.

我在尝试验证和上传使用Cloudify的chef插件创建的蓝图时出错。我正在导入厨师插件

错误如下所示:

CloudifyCliError: Failed to validate blueprint my_blueprint.yaml: Missing definition for relationship cloudify.relationships.connected_to which is declared as derived by relationship cloudify.chef.connected_to
这就是我的blueprint.yaml的样子:

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]

非常感谢您的帮助。

您缺少导入的
类型。yaml

类似于

imports:
  - http://www.getcloudify.org/spec/cloudify/3.1/types.yaml
请务必在以下位置查看Chef插件文档:


如果这是您第一次尝试使用Cloudify,我建议您从这里开始,只有在了解了基本知识之后,才能继续使用chef插件。

您缺少导入的
类型。yaml

类似于

imports:
  - http://www.getcloudify.org/spec/cloudify/3.1/types.yaml
请务必在以下位置查看Chef插件文档:


如果这是您第一次尝试使用Cloudify,我建议您从这里开始,并且只有在您了解了基本知识之后,请继续考虑CUF插件。

请考虑适当地格式化这个问题,以便蓝图定义正确地显示为YAMLL。请考虑适当地格式化这个问题,以便蓝图定义正确地显示为YAMLL。谢谢我在重写蓝图时工作得很好。谢谢。我的蓝图和它的工作很好。