Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 16, 2015
  1. Merge #46

    Mika Eloranta authored
Commits on Jan 15, 2015
  1. @saaros

    travis: add .travis.yml

    saaros authored
    Also adjusted test-dep to install more stuff as required.
  2. @saaros

    template: monkey patch cheetah's python 2.7 unicode issue

    saaros authored
    Unicode templates are broken in all released Cheetah versions on Python 2.7,
    it was fixed in the following commit, but it's not in any release, so monkey
    patch around it like we do with another Cheetah issue.
    
    cheetahtemplate/cheetah@bbca0d9
  3. @saaros
  4. @saaros

    poni: silence more pylint warnings

    saaros authored
    * ignore import failures (to run pylint on a system that doesn't have all
      optional libraries installed)
    
    * use `open()` instead of `file()`
    * use new-style classes
    * don't pre-format strings for logging
    * allow use of `eval()` in two places
    * use `str(exc)` instead of `exc[0]`
    * fix some white-space
    * ignore warnings about incorrect indentation in multi-line statements
    * ignore warnings about unnecessary parens
  5. @saaros

    doc build: drop example-doc and import github plugin only if it's ava…

    saaros authored
    …ilable
    
    * examples/puppet/README.rst never existed, and I don't think we really need
      to create html for examples, the rst file should be enough for now.
    
    * doc/conf.py should use sphinx github plugin only if it's installed
Commits on Jan 14, 2015
  1. Merge #45

    Mika Eloranta authored
  2. makefile: add pep8 target

    Mika Eloranta authored
  3. pylint: add pylintrc file and fix warnings

    Mika Eloranta authored
  4. @saaros
  5. Merge #44

    Mika Eloranta authored
  6. cloud: add 'image' cloud provider

    Mika Eloranta authored
    This provider captures every deployed file and executed command,
    without actually connecting to the target nodes.
    
    Usage:
    
      poni set some/node cloud.provider=image:/output/dir
    
    ...after which "poni deploy":ed files are written to
    "/output/dir/$NODENAME/image.tar". And poni remote executed
    commands are recorded to "/output/dir/$NODENAME/image.control".
Commits on Jan 11, 2015
  1. @saaros

    cloud_libvirt: support for recent paramiko versions

    saaros authored
    Paramiko v1.8.0-11-g31ea4f0 added support for tunneled connections using a
    new `sock` argument to `connect()` instead of a new `connect_socket()`
    function which Poni expected (which was based on my pull request at
    paramiko/paramiko#39)
    
    Poni monkey-patched Paramiko to add `connect_socket()` if it was missing,
    but that got broken by Paramiko v1.12.1-8-g3e1f9f0 which added new GSS
    related arguments to the internal `_auth()` function.
    
    Fix this by using the new `sock` parameter when available and by
    monkey-patching that in when it's missing.
Commits on Aug 22, 2014
  1. core: add a addr() resolution cache for render performance

    Mika Eloranta authored
    node.addr() can be called repeatedly a zillion times from templates
    and profiling has showed it being a bottleneck in some cases.
Commits on Aug 21, 2014
  1. buckets: keep buckets always sorted

    Mika Eloranta authored
    Relieves the templates from the burden of having to sort the
    bucket contents, often multiple times.
Commits on Jul 8, 2014
  1. tool: poni remote cp command

    Mika Eloranta authored
Commits on Jul 7, 2014
  1. cloud: docker deployment support

    Mika Eloranta authored
    Cloud properties:
    
      cloud.provider=docker
      cloud.base_url=unix://var/run/docker.sock
      cloud.vm_name=container_name
      cloud.image=image_name
      'cloud.binds:-json={"/sys/fs/cgroup": {"bind": "/sys/fs/cgroup", "ro": true}}'
      cloud.dns=10.0.0.1
      cloud.privileged:bool=true
    
    Docker base_url can also be set vi env varible:
    
      export DOCKER_BASE_URL=unix://var/run/docker.sock
Commits on Jun 3, 2014
  1. core: node.addr(network) lookup defaults to ["<network>.ip", "private…

    authored
    ….ip"]
    
    Makes defining an 'addr_map' optional in most cases.
Commits on May 16, 2014
  1. Merge pull request #42 from gergelyerdelyi/snapshot-no-memory

    authored
    Memory snapshot control and relaxed 'pristine' snapshot requirement
Commits on May 15, 2014
  1. @gergelyerdelyi

    cloud_vsphere: the 'pristine' snapshot can be anywhere, not only the …

    gergelyerdelyi authored
    …fist one
    
    The VM status check and revert logic required the base snapshot to be called
    'pristine' and be the first one on the list. With this change the snapshot
    can be located anywhere in the snapshot tree as long as it has the right name.
    Consequentially there can be other, even never snapshots too, they will not
    disturb the revert, as long as there is only one named 'pristine'.
  2. @gergelyerdelyi
  3. core: custom lib paths to beginning of sys.path

    Mika Eloranta authored Mika Eloranta committed
    Any custom lib path inside the poni repo have higher priority than
    anything else in the PYTHONPATH.
Commits on Apr 10, 2014
  1. core: minor refactoring

    Mika Eloranta authored
  2. tool: faster "poni list" by skipping an unnecessary call

    Mika Eloranta authored
  3. misc: whitespace fixes

    Mika Eloranta authored
  4. core: remove an extra stat() from iter_configs()

    Mika Eloranta authored
  5. make: fix "make deb" to work on debian wheezy

    Mika Eloranta authored
  6. vc: fix "vc checkpoint" to work with large number of changes

    Mika Eloranta authored
    Failed earlier with "OSError: [Errno 7] Argument list too long"
    if the number of deleted items was too big.
  7. libvirt: support for a separate deployment network interface

    Mika Eloranta authored Mika Eloranta committed
    Setting 'deploy_if=eth1' will attempt to autodiscover the IP address
    of the given NIC and use it as the deployment 'host' address.
Commits on Mar 31, 2014
  1. Merge pull request #41 from hnousiainen/eucalyptus_over_aws_provider

    authored
    Eucalyptus over AWS provider
Commits on Mar 29, 2014
  1. @hnousiainen
Commits on Mar 28, 2014
  1. @hnousiainen
Commits on Mar 21, 2014
  1. @saaros

    Merge branch 'colour-reset' of git://github.com/gergelyerdelyi/poni

    saaros authored
    * 'colour-reset' of git://github.com/gergelyerdelyi/poni:
      colors: use the proper ANSI sequence for 'reset'
Something went wrong with that request. Please try again.