Skip to content
This repository has been archived by the owner on May 27, 2019. It is now read-only.

Commit

Permalink
Merge pull request #5 from mgarrick/master
Browse files Browse the repository at this point in the history
Avoid 'Duplicate definition: Package[build-essential] is already defined in file' errors
  • Loading branch information
lucaspiller committed Aug 19, 2013
2 parents 11c992b + 3aeeb9c commit 193eb9f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion manifests/init.pp
Expand Up @@ -3,9 +3,14 @@
}

define rubyinstall($version = $title) {
package {
if ! defined(Package['build-essential']) {
package {
"build-essential":
ensure => present;
}
}

package {
"libssl-dev":
ensure => present;
"libreadline6":
Expand Down

0 comments on commit 193eb9f

Please sign in to comment.