Skip to content

Commit

Permalink
change $package_ensure variable to $version
Browse files Browse the repository at this point in the history
  • Loading branch information
jdowning committed Jun 8, 2014
1 parent d89ea14 commit afcd139
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand All @@ -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'],
}
Expand Down

0 comments on commit afcd139

Please sign in to comment.