From: Silvio Rhatto Date: Tue, 18 Jun 2013 19:47:18 +0000 (-0300) Subject: Adding nodo::utils::http X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f8d52348f58c359871d76ea21e4f50730e3fdd74;p=puppet-nodo.git Adding nodo::utils::http --- diff --git a/manifests/utils/http.pp b/manifests/utils/http.pp new file mode 100644 index 0000000..b2cc26a --- /dev/null +++ b/manifests/utils/http.pp @@ -0,0 +1,5 @@ +class nodo::utils::http { + package { [ 'curl' ]: + ensure => present, + } +} diff --git a/manifests/utils/network/minimal.pp b/manifests/utils/network/minimal.pp index 4c48e22..8c0145b 100644 --- a/manifests/utils/network/minimal.pp +++ b/manifests/utils/network/minimal.pp @@ -1,8 +1,8 @@ -class nodo::utils::network::minimal { +class nodo::utils::network::minimal inherits nodo::utils::http { include nodo::utils::network::irssi include nodo::utils::network::torrent - package { [ 'unison', 'httrack', 'zsync', 'curl' ]: + package { [ 'unison', 'httrack', 'zsync' ]: ensure => installed, } diff --git a/manifests/utils/web.pp b/manifests/utils/web.pp index 9c2cd71..a375a7e 100644 --- a/manifests/utils/web.pp +++ b/manifests/utils/web.pp @@ -1,6 +1,6 @@ # Common utilities for web -class nodo::utils::web { - package { [ 'ffmpeg', 'flvtool2', 'curl', 'rake', +class nodo::utils::web inherits nodo::utils::http { + package { [ 'ffmpeg', 'flvtool2', 'rake', 'libxml2', 'libxml2-dev', 'libxslt1-dev', 'libmysqlclient-dev', 'g++', 'libcurl4-openssl-dev', 'apache2-prefork-dev' ]: ensure => installed,