Coder Social home page Coder Social logo

Comments (5)

fnichol avatar fnichol commented on June 18, 2024

The only reason that I didn't add this initially is to mirror the Chef user resource (http://wiki.opscode.com/display/chef/Resources#Resources-User under the "Prerequisites" heading). I'm not 100% sure why they made that decision but maybe it is because that could involve a compilation tool-chain for the bindings? Maybe I should see that people have to say about in on #chef (IRC).

from chef-user.

patcon avatar patcon commented on June 18, 2024

Hmmm... I'm sort a self-taught, and you've shamed me into admitting that I don't quite know what "could involve a compilation tool-chain for the bindings" means... :S

I'd say it makes sense to find out the rationale though. Don't suppose you heard back?

Also, might make most sense to fork one of these cookbooks (maybe generalizing past ruby1.9) and add a dependency:
https://github.com/cookbooks/ruby-shadow/
https://github.com/biilmann/ruby-shadow-cookbook

I'll try #chef and report back if anyone has anything useful to contribute.

from chef-user.

fnichol avatar fnichol commented on June 18, 2024

Hey there, just doing some cleanup on issues. I'm hoping it'll be okay to have a soft dependency on ruby-shadow here, that is to ensure ruby-shadow is installed if managing passwords. If we added the ruby-shadow gem then we'd be forcing an install of gcc/make/autoconf/etc. However, I didn't realize this wasn't in the docs. Does that commit above help point out what to do? Thanks!

from chef-user.

patcon avatar patcon commented on June 18, 2024

When I originally posted this, I didn't quite play the dependency management game as conservatively as I do now. In 100% agreement on your docs approach :)

from chef-user.

natejenkins avatar natejenkins commented on June 18, 2024

Hey guys, I realize I'm a bit late to the game on this issue but I just encountered this problem and had some trouble figuring out what to do. As a definite chef non-expert, I didn't know how to install a missing gem, and I still don't find the opscode documentation to be of much help for any issue.

After searching around I saw some mentions of chef_gem, and eventually I just tried:
chef_gem 'ruby-shadow'
in my recipe before user_account, and it worked.

However, it would have been really helpful to have a bit more info in the exception message. I'm still not sure if my solution is the standard way of including a gem.

Great cookbook by the way, thanks for making it!

cheers,
nate

from chef-user.

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.