Skip to content

Instantly share code, notes, and snippets.

@jayunit100
Created July 24, 2013 04:39
Show Gist options
  • Save jayunit100/6068112 to your computer and use it in GitHub Desktop.
Save jayunit100/6068112 to your computer and use it in GitHub Desktop.
An example puppet manifest
node default {
include jenkins
include wget
include openjdk
include archiva
jenkins::plugin {'swarm':}
jenkins::plugin {'git':}
include firewall
include maven
}
resources { "firewall":
purge => true
}
#$database = {
# url => 'jdbc:postgresql://localhost/archiva',
# driver => 'org.apache.derby.jdbc.EmbeddedDataSource',
# username => 'archiva',
# password => 'archiva',
#}
$ldap = {
hostname => 'ldap.example.com',
ssl => true,
port => '636',
dn => 'o=example',
bind_dn => "cn=admin,ou=system,o=example",
bind_password => "admin123",
admin_user => "sysadmin"
}
class { archiva:
ldap => $ldap,
# archiva_jdbc => $database,
# users_jdbc => $database,
# jdbc_driver_url => 'http://jdbc.postgresql.org/download/postgresql-9.2-1001.jdbc4.jar',
version => '1.4-M1'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment