d5fc7922402b1cdb37a98f21e15a842133686f2d
[mirror/dsa-puppet.git] / modules / salsa / manifests / packages.pp
1 #
2 class salsa::packages inherits salsa {
3         $requirements = [
4                 'build-essential',
5                 'bundler',
6                 'checkinstall',
7                 'cmake',
8                 'curl',
9                 'golang',
10                 'libcurl4-openssl-dev',
11                 'libffi-dev',
12                 'libgdbm-dev',
13                 'libicu-dev',
14                 'libncurses5-dev',
15                 'libre2-dev',
16                 'libreadline-dev',
17                 'libssl-dev',
18                 'libxml2-dev',
19                 'libxslt1-dev',
20                 'libyaml-dev',
21                 'logrotate',
22                 'node-mkdirp',
23                 'node-semver',
24                 'nodejs',
25                 'nodejs-legacy',
26                 'pkg-config',
27                 'python-docutils',
28                 'libpq-dev',
29                 'zlib1g-dev'
30         ]
31
32         ensure_packages($requirements, { ensure => 'installed' })
33
34 #       file { "${salsa::home}/yarn":
35 #               ensure => directory,
36 #               owner  => $salsa::user,
37 #               group  => $salsa::group,
38 #               mode   => '0755',
39 #       }
40
41 #       archive { "yarn-${gitlab::yarnversion}.tar.gz":
42 #               path         => "${gitlab::home}/yarn-${gitlab::yarnversion}.tar.gz",
43 #               source       => "https://github.com/yarnpkg/yarn/releases/download/${gitlab::yarnversion}/yarn-${gitlab::yarnversionett}.tar.gz",
44 #               extract      => true,
45 #               extract_path => "${gitlab::params::home}/yarn",
46 #               cleanup      => true,
47 #               user         => $gitlab::user,
48 #               group        => $gitlab::group,
49 #               require      => File["${gitlab::home}/yarn"],
50 #       }
51 #       
52 #       if $gitlab::source_manage {
53 #               vcsrepo { "${gitlab::home}/gitlab":
54 #                       ensure   => present,
55 #                       provider => git,
56 #                       source   => 'https://github.com/gitlabhq/gitlabhq.git',
57 #                       revision => $gitlab::source_version,
58 #                       owner => $gitlab::user, 
59 #                       group => $gitlab::group
60 #               }
61 #       }
62 }