summaryrefslogtreecommitdiff
path: root/provisioning/modules/pixelated/manifests/source.pp
blob: 1490a06a5625ba163f5e6da7beb3cdb7cf5f7826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
class pixelated::source {
  include phantomjs

  package { [
    'git',
    'nodejs-legacy',
    'python-dev',
    'python-virtualenv',
    'libffi-dev',
    'libssl-dev',
    'g++',
    'ruby-dev',
    'libsqlite3-dev',
    'libfontconfig1',
    'build-essential']:
    ensure => latest
  }

  include pixelated::source::npm

  package { 'compass':
    ensure   => installed,
    provider => 'gem'
  }

  stage { 'install_pixelated': }

  class { 'pixelated::source::install_useragent' :
    stage => install_pixelated
  }

  Stage['main'] -> Stage['install_pixelated']
}