Skip to content

Ruby on Rails Asset Tracker with Puppet and Cobbler integration

License

Notifications You must be signed in to change notification settings

sanyu/Asset-Tracker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asset Tracker

About This Fork

This repo has been forked from github.com/mechcow/Asset-Tracker.git in order to upgrade to Rails 2.3.14 (while refactoring some code).

Stay tuned for new features.

About (Original)

This is a ruby on rails asset tracker which is a fork of Preston Lee’s asset tracker:

github.com/preston/asset_tracker

Features added:

  • JQuery AJAX style searching

  • Puppet synchronization

  • Cobbler synchronization

  • CSV Output

  • Asset Polymorphism including Virtualized and Physical hosts

  • IP Address checking to ensure you don’t double-allocate IPs

  • LDAP and AuthLogin support

Dependencies

gems: fastercsv

Getting Started

  1. Create a config/initializers/email.rb with the following…

ActionMailer::Base.smtp_settings = {

:address => "smtp.gmail.com",
:port => 587,
:authentication => :plain,
:enable_starttls_auto => true,
:user_name => "noreply@gmail_or_your_google_domain.com",
:password => "chucknorris"

}

  1. Install and configure PostgreSQL and setup a blank database (exact steps will depend upon your OS and environment)

  2. Edit config/database.yml and give it the appropriate values to connect to said database

  3. rake db:create

  4. rake db:fixtures:load

  5. rake db:migrate

  6. Edit config/ldap.yml and fill in the details about your LDAP server

  7. run script/server

You probably now want to first add a Location before you add anything else.

Authors

Original author was Preston Lee: www.prestonlee.com/2009/01/14/asset-tracking-ruby-web-app/

Modified and adapted by Joel Heenan, Giorgio Mandolfo and Sanyu Melwani for ThreatMetrix.

About

Ruby on Rails Asset Tracker with Puppet and Cobbler integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 84.5%
  • JavaScript 15.5%