Skip to content
This repository was archived by the owner on Jul 25, 2018. It is now read-only.

No candidate version available for httpd24 on Amazon Linux 2 #131

@lesamis

Description

@lesamis

Cookbook version

[0.6.2]

Chef-client version

[14.2.0]

Platform Details

[Amazon Linux 2]

Scenario:

[Trying to install and configure httpd version 2.4 on Amazon Linux 2]

Steps to Reproduce:

  • httpd_module_rhel[rewrite] action create
    • yum_package[httpd24] action install

      • No candidate version available for httpd24
        ================================================================================
        Error executing action install on resource 'yum_package[httpd24]'
        ================================================================================

      Chef::Exceptions::Package

      No candidate version available for httpd24

      Resource Declaration:

      In /var/chef/cache/cookbooks/httpd/libraries/httpd_module_rhel.rb

      7: package new_resource.package_name do
      8: action :install
      9: end
      10:

      Compiled Resource:

      Declared in /var/chef/cache/cookbooks/httpd/libraries/httpd_module_rhel.rb:7:in `block in class:HttpdModuleRhel'

      yum_package("httpd24") do
      package_name "httpd24"
      action [:install]
      default_guard_interpreter :default
      declared_type :package
      cookbook_name "kemper-httpd"
      end

      System Info:

      chef_version=14.2.0
      platform=amazon
      platform_version=4.14.47-64.38.amzn2.x86_64
      ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
      program_name=/usr/bin/chef-client
      executable=/opt/chef/bin/chef-client

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