Puppet Class: xbuild::install

Defined in:
manifests/install.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/install.pp', line 1

class xbuild::install {

  if !defined(Package['git']) {
    package { 'git':
      ensure => installed,
    }
  }

  exec { 'install xbuild':
    path    => '/usr/bin',
    command => 'git clone https://github.com/tagomoris/xbuild.git /usr/local/xbuild',
    creates => '/usr/local/xbuild',
    require => Package['git'],
  }

}