From afcd139916a34d466212220cd5d1a5be7b4a1f8a Mon Sep 17 00:00:00 2001 From: Justin Downing Date: Sun, 8 Jun 2014 15:17:24 -0400 Subject: [PATCH] change $package_ensure variable to $version --- manifests/init.pp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index b001967..ddf3249 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -4,7 +4,10 @@ # # === Parameters # -# package_ensure - Provides ability to change the version of awscli being installed. +# [$version] +# Provides ability to change the version of awscli being installed. +# Default: 'latest' +# This variable is required. # # === Variables # @@ -23,12 +26,12 @@ # Copyright 2014 Justin Downing # class awscli ( - $package_ensure = 'latest' + $version = 'latest' ) { include awscli::deps package { 'awscli': - ensure => $package_ensure, + ensure => $version, provider => 'pip', require => Class['awscli::deps'], }