-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 0.1 of Plumage, fresh from the office.
- Loading branch information
1 parent
5769827
commit 9b3e32d
Showing
94 changed files
with
8,308 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.swp | ||
MANIFEST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-*' }, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
plumage_run_sudo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Oops, something went wrong.