summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp7
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index cbddcf1..7ff9ed3 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -8,6 +8,9 @@ class couchdb (
$pwhash_alg = 'sha1' )
{
+ # stdlib is needed i.e. for ensure_packages()
+ include ::stdlib
+
case $::operatingsystem {
Debian: {
case $::lsbdistcodename {
@@ -23,7 +26,5 @@ class couchdb (
RedHat: { include couchdb::redhat }
}
- package { 'curl':
- ensure => installed,
- }
+ ensure_packages('curl')
}