| Version 9 (modified by mizzy, 5 years ago) |
|---|
Punc - Perl Unified Network Controller
NAME
Punc - Perl Unified Network Controller
SOURCE
http://coderepos.org/share/browser/lang/perl/Punc
REPOSITORY
svn co http://svn.coderepos.org/share/lang/perl/Punc/trunk Punc
DESCRIPTION
Punc は Python 製のシステム管理フレームワーク Func の Perl 実装です。現状はまだプロトタイプです。
USAGE
puncmasterd 起動
puncmasterd は SSL 証明書発行/管理用デーモンです。
# ./bin/puncmasterd
スレーブデーモン起動
スレーブデーモンが各ホスト上で動作し、マスターからの指令にしたがいモジュールを実行します。
# ./bin/puncd
puncmasterdとは別ホスト上で動かす場合、./etc/puncd.yaml の puncmaster_host を適宜変更してから puncd を起動してください。
puncmaster-ca コマンドによる証明書への署名
# ./bin/puncmaster-ca --sign host.example.com
punc コマンドでのモジュール実行
# ./bin/punc "*" call service description # ./bin/punc "*" call service status httpd
Punc::Client でのモジュール実行
use Punc::Client;
my $punc = Punc::Client->new('localhost');
my $res = $punc->service->status('httpd');
TODO
とりあえず、YAPC::Asia 2008 までには以下のあたりは実装する。
* SSL 実装 * ホスト管理(とりあえずはファイルベース。YAMLとかLDAPに切り替えやすいようにする。) * モジュールの配布メカニズム
AUTHOR
Gosuke Miyashita <gosukenator at gmail.com>
SEE ALSO
https://fedorahosted.org/func/
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)