Puppet Class: arcanist

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

Overview

Class: arcanist

This class clones arcanist for developer use

deploy_dir

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

Parameters:

  • deploy_dir (Any)


10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'puppet/modules/arcanist/manifests/init.pp', line 10

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

    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 { 'arcanist':
        dir => "${deploy_dir}/arcanist",
    }

}