Coder Social home page Coder Social logo

aegir-project / frigg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from patcon/frigg

1.0 6.0 0.0 253 KB

Provisioning program to create a server and install Aegir on it

Home Page: http://www.migueljacq.com/frigg

License: GNU General Public License v3.0

Python 100.00%

frigg's Introduction

Frigg is a little script that makes use of libcloud to:

 * Provision a server (by default, in the Rackspace Cloud)
 * Install Aegir on it


Caveats
-------

 * Totally and ruthlessly assumes a Debian based system at the moment. Deployment commands are hardcoded apt-get commands.
 * Needs sanity checking of values in the .ini, and probably elsewhere too.
 * maybe I should make the Aegir URL an arg and not from the ini, to make it faster to pump out Aegir servers
 * Can currently only be used with a VPS provider supported by libcloud that supports libcloud's deploy_node function. Some may not.
   According to libcloud's docs, deploy_node 'Depends on a Provider Driver supporting either using a specific password or returning a generated password.'


Dependencies
------------

 * python
 * libcloud
 * python-paramiko
 * You need an ssh private/public keypair in the .ssh directory of the user you're executing frigg as, because the public key will be copied to the new VPS to let you login.
 * My libcloud fork (git://github.com/mig5/libcloud.git) has a patch to catch the root user's password to stdout (not that useful since you need a key anyway))

Usage
-----

 * edit config/frigg.ini to provide your email address, the aegir URL and version, your api keys etc from your provider
 * python frigg

You'll receive the standard one-time login e-mail for your Aegir installation once completed.

Editing DNS/your hosts file to make the Aegir URL resolvable to the new server's IP is your responsibility.

frigg's People

Contributors

mig5 avatar

Stargazers

Rajab Natshah avatar

Watchers

Steven Jones avatar Herman van Rink avatar BOA Dev Team avatar Christopher Gervais avatar James Cloos avatar Rajab Natshah avatar

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.