Skip to content

carlwoodward/boris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boris - Because Boris can't cook!

Boris in the really early stages of development. Use at your own risk.

Boris is a small simple devops management gem. All config can be done in one file. Sharing deployment packages is as simple as requiring a file and including the module.

Lets look at some code:

add_server :test, '123.123.123.123', 'deploy', 'test'
setup :staging, :live do |role|
  # Web Server
  apt_get_install 'nginx'
  write_config 'nginx', '/etc/nginx/nginx.conf', :locals => {:server_name => 'test.com', :root => '/somewhere/public'}
end

And then defining a config file nginx.erb:

server {
  listen 80;
  server_name <%= server_name %>;
  root <%= root %>;
  passenger_enabled on;
}

Right now passwords are kept in the config file. Does anyone have a problem with this? Should it prompt you?

About

We shell see

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages