Last active
August 29, 2015 14:16
-
-
Save awaxa/f6c570ee5c4c9fcfa36e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
file { '/opt/stuff.war': | |
ensure => file, | |
source => '/deploy/wars/stuff.war', | |
} ~> | |
exec { 'rm -rf /opt/deployed': | |
refreshonly => true, | |
} ~> | |
# exec { 'jar xf /opt/stuff.war': | |
# cwd => '/opt/deployed', | |
# } ~> | |
service { 'tomcat': | |
ensure => running, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment