Skip to content

Commit

Permalink
chore(init.pp): change install flag to upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
reppard committed Mar 27, 2015
1 parent dfb54ac commit 180c7e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Modulefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name 'reppard-jdk8'
version '0.0.3'
version '0.0.4'
source 'https://github.com/reppard/puppet-jdk8'
author 'reppard'
license 'Apache License, Version 2.0'
Expand Down
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@

package {
$file_name:
ensure => $version,
ensure => installed,
require => Exec['curlRPM'],
provider => rpm,
source => "/tmp/${file_name}",
install_options => ['-ivh'],
install_options => ['-Uvh'],
}
}

0 comments on commit 180c7e0

Please sign in to comment.