0.0.2: Release.

This is the second 'release' for Puppetboard introducing some new
features and compatibility with PuppetDB 1.5 / v3 API.
This commit is contained in:
Daniele Sluijters
2013-10-14 12:51:06 +02:00
parent a75b08f882
commit 9be5aaebd9
6 changed files with 73 additions and 21 deletions

View File

@@ -17,7 +17,7 @@ Because this project is powered by Flask we are restricted to:
* Python 2.6
* Python 2.7
.. image:: https://raw.github.com/nedap/puppetboard/master/screenshots/node-experimental.png
.. image:: https://raw.github.com/nedap/puppetboard/master/screenshots/node-v3.png
:alt: View of a node
:width: 1024
:height: 700
@@ -68,6 +68,7 @@ and ``uwsgi`` can deal with.
* Apache mod_wsgi configuration: http://flask.pocoo.org/docs/deploying/mod_wsgi/
* uwsgi configuration: ``uwsgi --http :9090 --wsgi-file /path/to/puppetboard/wsgi.py``
* Passenger
In the case of uwsgi you'll of course need something like nginx in front of it to
proxy the requests to it.
@@ -76,6 +77,31 @@ Don't forget that you also need to serve the ``static/`` folder on the
``/static`` URL of your vhost. (I'm considering embedding the little additional
Javascript and CSS this application has so no one has to bother with that).
Passenger
^^^^^^^^^
From within the Puppetboard checkout:
.. code-block:: bash
mkdir public
mkdir tmp
ln -s wsgi.py passenger_wsgi.py
The apache vhost configuration:
.. code-block::
<VirtualHost *:80>
ServerName puppetboard.example.tld
DocumentRoot /path/to/puppetboard/public
RackAutoDetect On
Alias /static /path/to/puppetboard/static
<Directory /path/to/puppetboard/>
Options None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Configuration
=============
@@ -208,16 +234,16 @@ Screenshots
:height: 700
:align: center
With experimental endpoints
---------------------------
.. image:: https://raw.github.com/nedap/puppetboard/master/screenshots/nodes-experimental.png
API v3
------
.. image:: https://raw.github.com/nedap/puppetboard/master/screenshots/nodes-v3.png
:alt: Nodes table with experimental endpoints enabled
:width: 1024
:height: 700
:align: center
.. image:: https://raw.github.com/nedap/puppetboard/master/screenshots/node-experimental.png
.. image:: https://raw.github.com/nedap/puppetboard/master/screenshots/node-v3.png
:alt: Node view with experimental endpoints enabled
:width: 1024
:height: 700
@@ -228,18 +254,3 @@ With experimental endpoints
:width: 1024
:height: 700
:align: center
Error page
----------
.. image:: https://raw.github.com/nedap/puppetboard/master/screenshots/no-experimental.png
:alt: Accessing disabled experimental feature
:width: 1024
:height: 700
:align: center
.. image:: https://raw.github.com/nedap/puppetboard/master/screenshots/broken.png
:alt: Error message
:width: 1024
:height: 700
:align: center