This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Alnair

Alnair is a simple system configuration framework. And also are intended to be used in conjunction with the Fabric (https://github.com/fabric/fabric).

Requirement

  • Python 2.6 and later (but does not work in 3.x)

Installation

from pypi:

# using pip
% pip install -U alnair

# or using easy_install
% easy_install -U alnair

from source:

% python setup.py install

Basic usage

First, generate the recipes template set by following command:

% alnair generate template archlinux

In this example, distribution name using archlinux. recipes/archlinux/common.py directories and file are created to current directory by this command. Also “g” as an alias for the generate command has been defined. The following command is same meaning as above:

% alnair g template archlinux

Next, edit install_command variable in common.py for the target distribution:

# common.py
install_command = 'pacman -Sy'

Next, generate recipe template for package setup by following command:

% alnair g recipe python

python.py file is created on recipes/archlinux/ directory by this command. In fact, directories where you want to create the files are recipes/*/.

Finally, edit python.py for more settings if necessary and setup to the server by following command:

% alnair setup archlinux python

Using as a library

You can use the following code instead of “alnair setup archlinux python” command:

from alnair import Distribution

distname = 'archlinux'
with Distribution(distname) as dist:
    dist.setup('python')

For more documentation, read the sources or please wait while the document is being prepared.

Changes

0.3.2

  • Add –dry-run option to CLI
  • Implement the multiple packages in the single package name
  • Implement a host specific configuration

0.3

  • Add command-line interface
  • Add Distribution.config() API

0.2

  • Change the APIs (An incompatible with older releases)

0.1.2

  • Implement the commands execution to make before setup
  • Bug fixes

0.1.1

  • A few bug fixes

0.1

  • First release
Release History

Release History

0.3.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
alnair-0.3.2.tar.gz (8.9 kB) Copy SHA256 Checksum SHA256 Source Sep 6, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting