Giter VIP home page Giter VIP logo

Comments (8)

brianbianco avatar brianbianco commented on May 29, 2024

The reason for having the startup levels commented out by default is that you could install redis and not want to have it enabled on boot. The upstart provider will uncomment the line if you call the enable action on the service. It seems to me having it disabled on boot by default is the safer option.

Thoughts?

from redisio.

brianbianco avatar brianbianco commented on May 29, 2024

Sorry misunderstood the ticket at first. I see the issue. Not sure of a good way to avoid this really while staying with defaulting to the service being disabled.

from redisio.

mike-yesware avatar mike-yesware commented on May 29, 2024

I agree with the logic, but don't love the config file churn of disabling and re-enabling on each run. I suppose it's technically possible that the file could be modified by commenting out the line, then the chef run could fail before it's reenabled. Seems very unlikely, by possible.

Perhaps a better option is to have the cookbook set to startup by default (seems like a reasonable default to me, but YMMV) and use an attribute to toggle the enable or disable function?

from redisio.

mike-yesware avatar mike-yesware commented on May 29, 2024

I say startup as default because, when it comes to running a sever (vs. e.g. a workstation), service startup on boot seems to follow the principle of least surprise.

from redisio.

brianbianco avatar brianbianco commented on May 29, 2024

I've been trying to puzzle a good solution to this. Maybe it does just make sense to have it not commented out initially.

from redisio.

martinb3 avatar martinb3 commented on May 29, 2024

I think maybe we should stick to the (albeit, imho, not great) way Ubuntu starts on boot. This would follow the principle of least surprise for that distro.

from redisio.

xorima avatar xorima commented on May 29, 2024

Closing due to inactivity.

If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!

Thanks,
Sous-Chefs

from redisio.

lock avatar lock commented on May 29, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from redisio.

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.