diff options
author | varac <varacanero@zeromail.org> | 2015-10-12 14:17:04 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-10-13 17:56:12 +0200 |
commit | 37808af54f85d05143aa5f2eb3aba2171403a4b9 (patch) | |
tree | 9abb5fef0fb04612c675b95db07c01b9893110f2 /manifests | |
parent | 6c33c1c5a7a6e314b6f46073c7763364e13a2248 (diff) |
[feat] Remove dependency to apt module
The couchdb module should not depend on other modules,
if not needed. The dependency how packages should be installed
should be configured globally, like:
Exec['refresh_apt'] ->
Package <| ( title != 'lsb' ) |>
see https://leap.se/code/issues/2988 for including this
in the shared apt module.
- Related: https://leap.se/code/issues/2988
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/base.pp | 3 | ||||
-rw-r--r-- | manifests/bigcouch.pp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/manifests/base.pp b/manifests/base.pp index f698729..639f18d 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -9,8 +9,7 @@ class couchdb::base { } package { 'couchdb': - ensure => present, - require => Exec['refresh_apt'] + ensure => present } service { 'couchdb': diff --git a/manifests/bigcouch.pp b/manifests/bigcouch.pp index 34edbe7..36c6ce8 100644 --- a/manifests/bigcouch.pp +++ b/manifests/bigcouch.pp @@ -23,8 +23,7 @@ class couchdb::bigcouch inherits couchdb::base { # for signed 0.4.2 packages Package ['couchdb'] { - name => 'bigcouch', - require => Exec[refresh_apt] + name => 'bigcouch' } file { '/opt/bigcouch/etc/vm.args': |