Created
December 16, 2013 15:37
-
-
Save hiroraba/7988975 to your computer and use it in GitHub Desktop.
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
package mysite; | |
use Rex -base; | |
desc "install apache to server1"; | |
task "server1", group => 'servers1', sub { | |
install "apache2"; | |
service apache2 => ensure => "started"; | |
}; | |
desc "install php5 to server2"; | |
task "server2", group => 'servers2', sub { | |
install "php5"; | |
}; | |
1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment