Skip to content

Commit

Permalink
Initial public release
Browse files Browse the repository at this point in the history
Version 0.1 of Plumage, fresh from the office.
  • Loading branch information
philipboulainsmoothwall committed Apr 17, 2015
1 parent 5769827 commit 9b3e32d
Show file tree
Hide file tree
Showing 94 changed files with 8,308 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.swp
MANIFEST
19 changes: 19 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
This is a preliminary install guide that will get you something that works.

This guide assumes you have three machines; one client, one server, and one which will run both the master and the UI.

The client and server should be real hardware, per Polygraph advice.

The master and UI can be a VM; they should never generate heavy load, although you do not want the master to be resource-starved by other VMs on the same host.

Check the example configurations make sense for your machines. 'deploy', below, will use them. Modify it to use copies of them if needed.

Use the 'deploy' script to put the four roles into place. Edit it to choose the machine targets. Read the comments about expected directories and permissions. ('deploy' is useful to quickly put code changes onto the machines while developing.)

Copy examples/initscripts/plumage to /etc/init.d/plumage{UI,Master,Client,Server} as appropriate on each machine, chmod it to root, and make sure it's executable.

Use
sudo update-rc.d plumage{UI,Master,Client,Server} defaults
for each init script to make it start on boot.

If you want to be slightly more secure, chown away /opt/plumage/ directories so that Plumage can't write to itself. This will stop 'deploy' working.
661 changes: 661 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions PlumageClient/MANIFEST.SKIP
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
^\.git\/
maint
^tags$
.last_cover_stats
Makefile$
^blib
^pm_to_blib
^.*.bak
^.*.old
^t.*sessions
^cover_db
^.*\.log
^.*\.swp$
MYMETA.*
^.gitignore
^.svn\/
^PlumageClient-
27 changes: 27 additions & 0 deletions PlumageClient/Makefile.PL
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
use strict;
use warnings;
use ExtUtils::MakeMaker;

# Normalize version strings like 6.30_02 to 6.3002,
# so that we can do numerical comparisons on it.
my $eumm_version = $ExtUtils::MakeMaker::VERSION;
$eumm_version =~ s/_//;

WriteMakefile(
NAME => 'PlumageClient',
AUTHOR => q{Philip Boulain <[email protected]>},
VERSION_FROM => 'lib/PlumageClient.pm',
ABSTRACT => 'Client REST API for Plumage Polygraph Frontend',
($eumm_version >= 6.3001
? ('LICENSE'=> 'perl')
: ()),
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
'YAML' => 0,
'Dancer2' => 0.11,
'Pod::Xhtml' => 1.60,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'PlumageClient-*' },
);
1 change: 1 addition & 0 deletions PlumageClient/bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
plumage_run_sudo
10 changes: 10 additions & 0 deletions PlumageClient/bin/app.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env perl
# Entry point/harness for Plumage client
use warnings;
use strict;

use FindBin;
use lib "$FindBin::Bin/../lib";

use PlumageClient;
PlumageClient->dance;
Loading

0 comments on commit 9b3e32d

Please sign in to comment.