chef-cookbooks | Open source chef cookbooks | Configuration Management library

 by   facebook Ruby Version: Current License: Apache-2.0

kandi X-RAY | chef-cookbooks Summary

kandi X-RAY | chef-cookbooks Summary

chef-cookbooks is a Ruby library typically used in Devops, Configuration Management, Chef applications. chef-cookbooks has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This repo contains attribute-driven-API cookbooks maintained by Facebook. It's a large chunk of what we refer to as our "core cookbooks.". It's worth reading our Philosophy.md doc before reading this. It covers how we use Chef and is important context before reading this.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              chef-cookbooks has a low active ecosystem.
              It has 544 star(s) with 138 fork(s). There are 62 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 10 open issues and 15 have been closed. On average issues are closed in 135 days. There are 8 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of chef-cookbooks is current.

            kandi-Quality Quality

              chef-cookbooks has 0 bugs and 0 code smells.

            kandi-Security Security

              chef-cookbooks has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              chef-cookbooks code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              chef-cookbooks is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              chef-cookbooks releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              chef-cookbooks saves you 12161 person hours of effort in developing the same functionality from scratch.
              It has 24534 lines of code, 458 functions and 493 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed chef-cookbooks and discovered the below as its top functions. This is intended to give you an instant insight into chef-cookbooks implemented functionality, and help decide if they suit your requirements.
            • Checks if the spec exists
            • Adds a mount to the mount
            • Returns the status of a mount at the given path .
            • Checks whether the given mount paths are not .
            • Checks if the mount directory exists
            • Generate a failure message
            Get all kandi verified functions for this library.

            chef-cookbooks Key Features

            No Key Features are available at this moment for chef-cookbooks.

            chef-cookbooks Examples and Code Snippets

            No Code Snippets are available at this moment for chef-cookbooks.

            Community Discussions

            QUESTION

            Chef recipe 'include_recipe' takes precedence over other code and resources
            Asked 2019-Oct-14 at 23:49

            I'm attempting to create a Chef cookbook that, for now, is mostly just a wrapper cookbook for another cookbook (the audit cookbook). I'm still learning Chef, but from what I can gather from the About Recipes documentation and the Resources Reference documentation, Chef recipes should execute in the order that they're defined (via Ruby code and/or Chef resources).

            In the About Recipes documentation, it mentions that

            When a recipe is included, the resources found in that recipe will be inserted (in the same exact order) at the point where the include_recipe keyword is located.

            In the Resources Reference documentation, they have an apt_update resource that presumably executes before the include_recipe method due to the fact that it's defined earlier in the recipe.

            My wrapper cookbook has a single recipe, default.rb, which is literally these two lines:

            ...

            ANSWER

            Answered 2019-Oct-10 at 04:54

            if you would examine the audit::inspec rescipe, you will find that it uses a compile time installation of the inspec rubygem (see the last line)

            Source https://stackoverflow.com/questions/58314519

            QUESTION

            How to stage, develop, and test changes to the chef repo
            Asked 2017-Jul-17 at 18:27

            I wanted to ask what the best practice, and what is commonly done for testing and developing changes to cookbooks,environments,nodes, essentially the chef repo. Reason I ask this, is the current setup has one chef server. All environments (staging, beta, prod) use this server and have all the relevant info pulled from here.

            However, when I want to make a change to a cookbook and test it on one of our staging environments...it pulls from this repo and I either have to make a mess of configuration changes or...upload a cookbook with a different name, test, and then proceed to rename my cookbook back to the original name. Far from efficient, and frustrating even.

            I thought maybe I could have different git branches and somehow point them in different directions but it would still be pulling from the same repo I imagine..

            My thought then was to simply have an entirely separate chef server dedicated for developing and testing, and point my staging environments to that chef server.

            Not sure if there was another more simple way I was missing, thus why I'm asking the community.

            This may seem related to another question I asked, but I hope the difference between these two questions is clear (How to update chef cookbooks in a developer workflow)

            ...

            ANSWER

            Answered 2017-Jul-17 at 15:17

            Chef has the notion of different environments: https://docs.chef.io/environments.html

            You can have prod and staging environment files which have all relevant cookbooks pinned to a stable version.

            Then when you make a change to your cookbook you should bump the version number and update the staging environment with the new version so you can test the changes there. I.e.

            Source https://stackoverflow.com/questions/45147266

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install chef-cookbooks

            Grab a copy of the repo, rename fb_init_sample to fb_init, and follow the instructions in its README.md (coordinating guidance is in comments in the default recipe).

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/facebook/chef-cookbooks.git

          • CLI

            gh repo clone facebook/chef-cookbooks

          • sshUrl

            git@github.com:facebook/chef-cookbooks.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Configuration Management Libraries

            dotfiles

            by mathiasbynens

            consul

            by hashicorp

            viper

            by spf13

            eureka

            by Netflix

            confd

            by kelseyhightower

            Try Top Libraries by facebook

            react

            by facebookJavaScript

            react-native

            by facebookJava

            create-react-app

            by facebookJavaScript

            docusaurus

            by facebookTypeScript

            jest

            by facebookTypeScript