diff options
Diffstat (limited to 'manifests/utils/development/git.pp')
-rw-r--r-- | manifests/utils/development/git.pp | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/manifests/utils/development/git.pp b/manifests/utils/development/git.pp index b5fc5aa..7052d96 100644 --- a/manifests/utils/development/git.pp +++ b/manifests/utils/development/git.pp @@ -1,11 +1,22 @@ class nodo::utils::development::git { - package { [ 'gitk', 'git-gui', 'tig', 'git-cola', 'legit', - 'git-extras', 'git-flow', 'topgit', 'git-remote-gcrypt', ]: + package { [ + 'gitk', + 'git-gui', + 'tig', + 'git-cola', + 'legit', + 'git-extras', + 'git-flow', + 'topgit', + 'git-remote-gcrypt', + ]: ensure => installed, } # Newer packages - package { 'git-crypt': + package { [ + 'git-crypt', + ]: ensure => $::lsbdistcodename ? { 'stretch' => present, 'sid' => present, @@ -14,7 +25,9 @@ class nodo::utils::development::git { } # Wheezy only - package { 'git-stuff': + package { [ + 'git-stuff', + ]: ensure => $::lsbdistcodename ? { 'wheezy' => present, default => absent, |