Blame view

modules/people/manifests/hanjianwei/repositories.pp 488 Bytes
fd662c9d3   Jianwei Han   Try to avoid inhe...
1
2
3
4
5
  class people::hanjianwei::repositories(
    $home     = $people::hanjianwei::config::home,
    $dotfiles = $people::hanjianwei::config::dotfiles,
    $srcdir   = $people::hanjianwei::config::srcdir
  ) {
3a47d364c   Jianwei Han   Remove caches for...
6
7
8
9
10
11
12
13
14
15
    # Git
    file { "${home}/.gitconfig":
      target  => "${dotfiles}/Git/gitconfig",
      require => Repository["${dotfiles}"]
    }
  
    # Repos
    repository { "${dotfiles}":
      source => 'hanjianwei/dotfiles'
    }
fd662c9d3   Jianwei Han   Try to avoid inhe...
16
17
18
19
  
    repository { "${srcdir}/diyao/web":
      source => 'hanjianwei/diyao-web'
    }
3a47d364c   Jianwei Han   Remove caches for...
20
  }