projects
/
p5sagit/Oyster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3ded634
)
added use to make dynamic roles work in provision
iain [Sat, 20 Nov 2010 16:12:38 +0000 (16:12 +0000)]
lib/Oyster/Provision.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Oyster/Provision.pm
b/lib/Oyster/Provision.pm
index
4da50bc
..
2b82200
100644
(file)
--- a/
lib/Oyster/Provision.pm
+++ b/
lib/Oyster/Provision.pm
@@
-12,6
+12,7
@@
sub BUILD {
my $role = $self->config()->{provision_backend};
+ eval "use $role";
"$role"->meta->apply($self);
}