Coder Social home page Coder Social logo

tragiccode-ravendb's People

Contributors

tragiccode avatar

Watchers

 avatar  avatar

Forkers

kannadasa

tragiccode-ravendb's Issues

Move hardcoded config settings in template to config_defaults hash

In order to prevent users from passing in configuration key/values pairs through the $config hash parameter that already exist hardcoded in the template we should move all these hardcoded values into the $config_defaults hash so merging happens correctly and duplicates don't happen.

Use Chocolatey package by default

This package should by default utilize the chocolatey package from the community feed along with giving the user the flexibility to customize to their internal feed for production scenarios.

Add Ability to manage databases and their configuration

RavenDB Exposes a restful API. Lets see what we can come up with in order to be able to manage ravendb databases utilizing it's rest API using types and providers. Before i can do this i need to play around with the following.

Look at a couple of modules to see how they organize helper methods and stuff that make the actual rest apis

Methods of possibly reusing a gem

  • Test a simple rake task that will grab a gem or git repo that contains the rest api library and massage it into this module for use. or just traight up vendor the gem in a folder somewhere in the lib directory.
  • Test Git submodules for reusing a rest api library
  • Test installing the gem on the target system using puppet_gem

Error if user passes in RavenDB port in config hash fail

In order to keep this module easy to use i want to leave the RavenDB port as a seperate parameter outside the config hash even though i will ultimately merge it in from within the config class. I need to put a protection in place that will prevent the user from using the module possibly incorrectly by preventing them from passing the ravendb port into the config hash. It looks like i can use this from the stdlib to achieve this.

https://github.com/puppetlabs/puppetlabs-stdlib#has_key

Update Documentation for forge

I released this to the forge but forgot i needed to actually update the documentation. I should do this for next release.

Correctly inject line endings into ravendb config template

Before i did a bit of a hack to inject in line endings to my ERB template. I should probably using something more formal like the below OR just save the file with the correct line endings.

file { $ravendb_server_exe_config_absolute_path:
ensure => file,
content => regsubst(epp('ravendb/Raven.Server.exe.config.epp', $raven_server_exe_config_hash), '\n', "\r\n", 'EMG'),
}

Option 1:
https://github.com/puppetlabs/puppetlabs-stdlib#unix2dos
https://github.com/puppetlabs/puppetlabs-stdlib#dos2unix

Option 2:
Save file with correct line endings

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.