Thanks,but im double check and in all roles i have this
On Friday, November 14, 2014 at 8:30 AM, Vasiliy Tolstov wrote:
> Hello. All works fine before i'm switching to json roles.
> Now i have error like:
>
> qemu: [2014-11-14T16:06:40+00:00] INFO: Setting the run_list to
> ["role[role-base]", "role[role-vm]", "role[env-zone-00]",
> "role[env-role-base-00]", "role[env-role-vm-00]",
> "role[env-node-vm00-00]"] from CLI options
> qemu: [2014-11-14T16:06:40+00:00] DEBUG: Applying attributes from json file
> qemu: [2014-11-14T16:06:40+00:00] DEBUG: Platform is exherbo version 3.14.23
> qemu:
> qemu: ================================================================================
> qemu: Error expanding the run_list:
> qemu: ================================================================================
> qemu:
> qemu: Unexpected Error:
> qemu: -----------------
> qemu: NoMethodError: undefined method `run_list_for' for
> #<Array:0x0000000288a980>
You’re probably missing the `json_class` attribute. http://docs.getchef.com/essentials_roles.html#json
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.