Code Monkey home page Code Monkey logo

selfsigned_certificate's People

Contributors

cgravier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

selfsigned_certificate's Issues

Not working with Berkshelf

when I add the cookbook to berself I am getting an "unknown compression type" error. Removing the dependency removes the error.

Installing selfsigned_certificate (0.1.0)
Using sudo (2.7.1)
Using users (1.8.2)
Using windows (1.36.6)
Using yum (3.6.0)
Using yum-epel (0.6.0)
Using zookeeper (2.6.0)
E, [2015-05-13T12:28:20.076060 #23224] ERROR -- : Actor crashed!
Berkshelf::UnknownCompressionType: The file at '/home/tbrown/chef-repo/community-rest-stream20150513-23224-1wwblxi' is not a known compression type
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/community_rest.rb:19:in unpack' /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/community_rest.rb:105:indownload'
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/downloader.rb:62:in try_download' /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/downloader.rb:36:inblock in download'
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/downloader.rb:35:in each' /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/downloader.rb:35:indownload'
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/installer.rb:105:in install' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:inpublic_send'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:indispatch'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:inblock in task'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:inblock in initialize'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
The file at '/home/tbrown/chef-repo/community-rest-stream20150513-23224-1wwblxi' is not a known compression type

Having LWRP to create self-signed certificates

This is a nice little cookbook to generate self-signed certificates. I think it would make more sense to create the self-signed certs as an LWRP (:create and :delete actions) instead of a recipe so that the users can have the flexibility to create certificates during compile phase of Chef instead of execute phase. Also with an LWRP idempotence can be easily achieved.

Since now this is achieved as a recipe I can only create certs in execute phase.

Wrong attribute name for ssl passphrase

You have a mismatch between what your documentation says and what the attribute file says, and what the code is expecting.

On both the attribute file and the documentation you mention an attribute node[:selfsigned_certificate][:passphrase] when in fact your code is expecting an attribute named node[:selfsigned_certificate][:sslpassphrase].

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.