Skip to content

Instantly share code, notes, and snippets.

@joshuatobin
Created September 4, 2012 18:12
Show Gist options
  • Save joshuatobin/3624386 to your computer and use it in GitHub Desktop.
Save joshuatobin/3624386 to your computer and use it in GitHub Desktop.
class jenkins::package {
package {
'jenkins' :
ensure => installed,
require => File['/var/lib/jenkins'],
}
file { '/var/lib/jenkins':
ensure => 'link',
target => '/mnt/jenkins',
before => Package['jenkins'],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment