Skip to content

undefined local variable or method `accept_license' for #<#<Class:0x0000000003597e48>:0x00000000054c1800> #6

@sairajputh88

Description

@sairajputh88

While trying to run the ibm_mq cookbook facing the following error.

  • ibm_mq_installation[Installation1] action create

        ================================================================================
        Error executing action `create` on resource 'ibm_mq_installation[Installation1]'
        ================================================================================
    
        NameError
        ---------
        undefined local variable or method `accept_license' for #<#<Class:0x0000000003597e48>:0x00000000054c1800>
    
        Cookbook Trace:
        ---------------
        /home/ec2-user/kitchen/cache/cookbooks/ibm_mq/resources/installation.rb:32:in `block in class_from_file'
    
        Resource Declaration:
        ---------------------
        # In /home/ec2-user/kitchen/cache/cookbooks/app/recipes/default.rb
    
         11: ibm_mq_installation 'Installation1' do
         12:   source 'http://10.0.2.15:8000/WS_MQ_V8.0.0.4_LINUX_ON_X86_64_IM.tar.gz'
         13:   accept_license false
         14:   primary true
         15: end
         16:
    
        Compiled Resource:
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions