Puppet Class: arcanist

Defined in:
puppet/modules/arcanist/manifests/init.pp

Overview

Class: arcanist

This class clones arcanist and libphutil for developer use

deploy_dir

The system path to checkout arcanist & libphutil to (example: '/vagrant/phab').

Parameters:

  • deploy_dir (Any)


11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'puppet/modules/arcanist/manifests/init.pp', line 11

class arcanist(
    $deploy_dir,
){
    include ::php

    git::clone { 'libphutil':
        directory => "${deploy_dir}/libphutil",
        branch    => 'wmf/stable',
        remote    => 'https://phabricator.wikimedia.org/diffusion/PHUTIL/libphutil.git',
    }

    git::clone { 'arcanist':
        directory => "${deploy_dir}/arcanist",
        branch    => 'wmf/stable',
        remote    => 'https://phabricator.wikimedia.org/diffusion/ARC/arcanist.git',
    }

    env::profile_script { 'add arcanist bin to path':
        content => "export PATH=\$PATH:${deploy_dir}/arcanist/bin",
    }

    service::gitupdate { 'libphutil':
        dir => "${deploy_dir}/libphutil",
    }

    service::gitupdate { 'arcanist':
        dir => "${deploy_dir}/arcanist",
    }

}