Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #44 from chriserik/fix-duplicate-declarations
Browse files Browse the repository at this point in the history
fix #34
  • Loading branch information
willdurand committed Mar 10, 2014
2 parents 41e19ad + bcb67aa commit 1ee7332
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,17 @@
default => 'x86',
}

ensure_packages([ 'tar', 'curl' ])
if !defined(Package['curl']) {
package {'curl':
ensure => installed
}
}

if !defined(Package['tar']) {
package {'tar':
ensure => installed
}
}

if !defined(Package['semver']){
package { 'semver':
Expand Down

0 comments on commit 1ee7332

Please sign in to comment.