Code Monkey home page Code Monkey logo

chef-cfn's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chef-cfn's Issues

Ohai plugin incompatible with `aws-sdk-ruby` > 2

Because no version is specified of the aws-sdk-ruby gem here: https://github.com/JonathanSerafini/chef-cfn/blob/master/recipes/ohai.rb#L3, the newer version 3 is going to be installed.
Therefore this fails:
https://github.com/JonathanSerafini/chef-cfn/blob/master/files/default/ohai_plugins/cfn.rb#L38
with [2017-12-01T10:36:11+00:00] ERROR: cfn: failed to fetch instance: uninitialized constant Aws::EC2
As far as I can tell there's 2 different ways of fixing this. I don't know which solution you prefer otherwise I would've created a PR ;-)

Remove node_name requirement from chef_lifecycle script

Just commenting in case this is something being considered for refactor. The chef_lifecycle script in this repo is currently just a static file and greps for node_name in the client.rb to determine instance name.

Currently it is recommended to leave node_name out of the chef client.rb, see node_name setting here and let chef determine it automatically from ohai data. So node_name seems like sort of an odd thing to depend on here: https://github.com/JonathanSerafini/chef-cfn/blob/master/files/default/chef_lifecycle#L15

Maybe this could be moved to a template that is rendered with the node name via ohai data or be converted to just use the ohai data directly.

Thanks for providing this cookbook.

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.