Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class projects::blacklightdev {
- include projects::blacklight
- include rubygems
- include rubygems::blacklight
- include sqlite
- svn::workdir { blacklight_latest:
- repository => "file:///svn/blacklight/trunk/rails",
- local_container => "/usr/local/projects",
- local_name => "blacklight_latest"
- }
- exec { "change blacklightdev to apache" :
- command => "/bin/chown -R apache:apache /usr/local/projects"
- }
- exec { "blacklightdev db:migrate" :
- path => ["/usr/bin", "/usr/sbin", "/bin"],
- command => "cd /usr/local/projects/blacklight_latest; rake db:reset"
- }
- file {'/etc/httpd/host.d/blacklightdev.lib.conf':
- mode => 644, owner => apache, group => apache,
- require => Package['httpd'],
- notify => Service['httpd'],
- source => [
- "puppet:///projects/host.d/blacklightdev.lib.conf"
- ],
- }
- }
Add Comment
Please, Sign In to add comment