]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Avoiding duplicate definition of git-annex
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 27 Sep 2012 22:13:47 +0000 (19:13 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 27 Sep 2012 22:13:47 +0000 (19:13 -0300)
manifests/subsystems/utils/development.pp
manifests/subsystems/utils/storage.pp
manifests/subsystems/utils/web.pp

index 7154e36b92592be5e36feb674a8379aedb439b7d..ce900ed5d6b123de6455f27b636aa1f09d5a7a1c 100644 (file)
@@ -6,8 +6,10 @@ class utils::development {
               'devscripts', 'pbuilder',         'build-essential', 'pnopaste-cli',      'agave',
               'cdbs',       'dh-buildinfo',     'quilt',           'dpatch',            'dput',
               'bzr',        'debian-goodies',   'debirf',          'xorriso',           'dh-autoreconf',
-              'git-annex',  'git-buildpackage', 'gem2deb',         'python-setuptools', 'python-virtualenv',
-              'ditz',       'unetbootin' ]:
+              'unetbootin', 'git-buildpackage', 'gem2deb',         'python-setuptools', 'python-virtualenv',
+              'ditz' ]:
     ensure => installed,
   }
+
+  include utils::storage::archive
 }
index e83873b3b21a180cca0cd3797b6f1496fdbda021..6a52e1606517e04452311a260f90eba38d795a0c 100644 (file)
@@ -4,3 +4,9 @@ class utils::storage {
     ensure => installed,
   }
 }
+
+class utils::storage::archive {
+  package { 'git-annex':
+    ensure => installed,
+  }
+}
index 9169ef08485a7828277b60b06e894d4e2321e8d7..8b0eba93ea5a1eceb12487af483c6ef5c9c159c1 100644 (file)
@@ -2,7 +2,9 @@
 class utils::web {
   package { [ 'ffmpeg',  'flvtool2',             'curl',                'rake',
               'libxml2', 'libxml2-dev',          'libxslt1-dev',        'libmysqlclient-dev',
-              'g++',     'libcurl4-openssl-dev', 'apache2-prefork-dev', 'git-annex' ]:
+              'g++',     'libcurl4-openssl-dev', 'apache2-prefork-dev' ]:
     ensure => installed,
   }
+
+  include utils::storage::archive
 }