GithubHelp home page GithubHelp logo

dmuth / chef-101-introduction-to-chef Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 3.0 21 KB

Sample Chef cookbook and recipe that I created for a blog post on Chef

License: Other

Ruby 43.67% Shell 8.37% HTML 47.96%

chef-101-introduction-to-chef's Introduction

Hi ๐Ÿ‘‹, I'm Doug

he/him / Philadelphia, PA, USA / 28% cheetah / #BlackLivesMatter

Welcome to my GitHub repo! This is mostly for personal projects that I've worked on over the years. Sometimes it's to learn a new technology, sometimes it's to contribute something to a particular space, sometimes it's just #CodePosting where I try something new.

If you like my work, please consider sponsoring me.

Here are my more interesting projects that you may wish to check out:

Connect with me:

dmuth dmuth dmuth @dmuth https://www.dmuth.org/feed/

chef-101-introduction-to-chef's People

Contributors

dmuth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chef-101-introduction-to-chef's Issues

mac-os-x-ipfw - Didn't work for me on OS X Mavericks

See basecamp/pow#432.

This command made it start working, but will go away on reboot: sudo sysctl net.inet.ip.fw.enable=1

Was going to send a PR, but I'm not sure the best way to fix it. You could add it in cookbooks/mac-os-x-ipfw/recipes/default.rb where you currently have this code:

execute "ipfw" do
        command "launchctl load -w /Library/LaunchDaemons/org.dmuth.ipfw.plist"
end

But that wouldn't stay past a reboot.

I found Apple's docs on launch daemons, but I couldn't see a way to run one process first, then run a second one that will stay running persistently.

You could wrap it in shell, but I'm not sure if there's a better way to handle it.

In any case, thanks for this recipe. If you haven't seen pow.cx, it's an interesting-looking tool. Not sure if it works with externally facing subdomains, or just .local ones.

I think this issue would be good to resolve, because I was banging my head against it for some time before I found sudo sysctl net.inet.ip.fw.enable=1.

Best, Peter

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.