Chef infra OpsWorks Chef 11.10未定义的方法';财产';

Chef infra OpsWorks Chef 11.10未定义的方法';财产';,chef-infra,aws-opsworks,Chef Infra,Aws Opsworks,Chef 11.10运行良好,直到我们调整了一个实例的大小,现在setup\u在使用日志引导时失败了: NoMethodError ------------- undefined method `property' for #<Class:0x007f7c97afc100> Cookbook Trace: --------------- /var/lib/aws/opsworks/cache.stage2/cookbooks/windows/resources/auto_run.

Chef 11.10运行良好,直到我们调整了一个实例的大小,现在
setup\u在使用日志引导时失败了

NoMethodError
-------------
undefined method `property' for #<Class:0x007f7c97afc100>


Cookbook Trace:
---------------
/var/lib/aws/opsworks/cache.stage2/cookbooks/windows/resources/auto_run.rb:22:in `class_from_file'


Relevant File Content:
----------------------
/var/lib/aws/opsworks/cache.stage2/cookbooks/windows/resources/auto_run.rb:

21:  
22>> property :program_name, String, name_property: true
23:  property :path, String, coerce: proc { |x| x.tr('/', '\\') }
24:  property :args, String
25:  property :root, Symbol,
26:           equal_to: %i(machine user),
27:           default: :machine
28:  
29:  alias_method :program, :path
30:  
31:  action :create do
nomethoderor
-------------
未定义的方法“属性”#
食谱跟踪:
---------------
/var/lib/aws/opsworks/cache.stage2/cookbooks/windows/resources/auto_run.rb:22:in'class_from_file'
相关文件内容:
----------------------
/var/lib/aws/opsworks/cache.stage2/cookbooks/windows/resources/auto_run.rb:
21:  
22>>属性:程序名称、字符串、名称属性:true
23:property:path,String,强制:proc{x | x.tr('/','\\')}
24:属性:args,字符串
25:属性:根,符号,
26:等于%i(机器用户),
27:默认::机器
28:  
29:alias_方法:程序,:路径
30:  
31:操作:创建do

Berkshell版本是
3.2.0
。我无法通过SSH连接到实例来获取详细日志。

您正在尝试使用需要更新版本的Chef的烹饪书。特别是,我认为烹饪书需要Chef 12.5或更新版本。

您正在尝试使用一本需要Chef更新版本的烹饪书。特别是,我认为烹饪书需要Chef 12.5或更新版本。

是否仍要继续使用11.10?当然,请使用与Chef 11兼容的较旧版本的烹饪书。是否仍要继续使用11.10?当然,请使用与Chef 11兼容的较旧版本的烹饪书。