Giter Club home page Giter Club logo

Comments (3)

artem-sidorenko avatar artem-sidorenko commented on June 3, 2024

@oneandoneis2 thanks for raising the issue. We switched to the sysctl implementation of chef in #228. This is leading to the issue on your side. I'll have a look. As a workaround for now you can pin the cookbook to the major version 3 on your side, like

# metadata.rb

depends 'chef-os-hardening', '~> 3.2.1'

from chef-os-hardening.

artem-sidorenko avatar artem-sidorenko commented on June 3, 2024

@oneandoneis2 is chef -v maybe from your development system? I see in your packer output chef 13:

    amazon-ebs: System Info:
    amazon-ebs: ------------
    amazon-ebs: chef_version=13.8.5           <----------------------------------------
    amazon-ebs: platform=ubuntu
    amazon-ebs: platform_version=18.04
    amazon-ebs: ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
    amazon-ebs: program_name=chef-client worker: ppid=1587;start=13:24:54;
    amazon-ebs: executable=/opt/chef/bin/chef-client

Chef 13 is EOL already for a while, with chef-os-hardening 4.0.0 we dropped the support of chef 13.

If you want to continue using chef 13, you should pin the cookbook version like in the example above.

from chef-os-hardening.

oneandoneis2 avatar oneandoneis2 commented on June 3, 2024

Thanks for the quick replies!

Pinning to the previous version does indeed fix things for now. I'd missed that packer was still running the v13 chef - guess it's time to write up an upgrade ticket!

Cheers!

from chef-os-hardening.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.