From 4a880ad141c8deefb41549e5e79c868303e1c296 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 23 Sep 2016 16:29:26 -0300 Subject: Coding style for utilities --- manifests/utils/development/git.pp | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'manifests/utils/development/git.pp') 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, -- cgit v1.2.3