Skip to content

Instantly share code, notes, and snippets.

@intellectronica
Last active December 17, 2015 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save intellectronica/5656939 to your computer and use it in GitHub Desktop.
Save intellectronica/5656939 to your computer and use it in GitHub Desktop.
class xxxxxx::serverpackage {
package {["xxxxxx-server"]:
ensure => "201305261754_020905460ea27541db0fee89b5d435c05d4ae9cd-1",
require => Yumrepo["xxxxxx"],
notify => Service["httpd"],
}
vcsrepo { "/opt/application/xxxxxxx":
ensure => present,
provider => git,
source => 'git@github.com:xxxxxx/server.git',
revision => '0b37b6687ff9a69aaeedf11892ba46828f5536d2',
path => "/opt/application/xxxxxx",
identity => '/root/.ssh/id_rsa',
force => true,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment