lib/shuttle/deployment/wordpress/vip.rb in shuttle-deploy-0.2.0.beta3 vs lib/shuttle/deployment/wordpress/vip.rb in shuttle-deploy-0.2.0.beta4

- old
+ new

@@ -28,11 +28,11 @@ vip_install end def vip_install - log "Installing wordpress VIP" + log "Installing WordPress VIP" vip = vip_get_config options = [ "--username #{vip.user}", @@ -45,13 +45,13 @@ cmd = "svn co #{options}" res = ssh.run(cmd, &method(:stream_output)) if res.success? - log "Wordpress VIP installed" + log "WordPress VIP installed" else - raise DeployError, "Unable to install wordpress VIP. Reason: #{res.output}" + raise DeployError, "Unable to install WordPress VIP. Reason: #{res.output}" end end def vip_get_config data = config.wordpress.vip @@ -71,12 +71,12 @@ end def vip_link ssh.run("mkdir -p #{release_path}/wp-content/themes/vip") result = ssh.run("cp -a #{vip_path} #{release_path('wp-content/themes/vip/plugins')}") - + if result.success? - log "Wordpress VIP is linked" + log "WordPress VIP is linked" else error "Unable to link VIP: #{result.output}" end end end \ No newline at end of file