Skip to content

Commit

Permalink
Added .gitignore for files dir, merged
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwalts committed Aug 25, 2013
2 parents 9d888d6 + 5dad6dc commit 4dc09fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions files/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

jdk-7-linux-x64.tar.gz


18 changes: 9 additions & 9 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
require => Exec['get_jdk_tarball'],
}

# Set links
# Set links depending on osfamily or operating system fact
case $::osfamily {
"RedHat": {
RedHat, Linux: {
file { "/etc/alternatives/java":
ensure => link,
target => "${java_home}/bin/java",
Expand All @@ -57,13 +57,13 @@
require => Exec['extract_jdk'],
}
}
"Debian": { fail("TODO: Implement me!") }
"Suse": { fail("TODO: Implement me!") }
"Solaris": { fail("TODO: Implement me!") }
"Gentoo": { fail("TODO: Implement me!") }
"Archlinux": { fail("TODO: Implement me!") }
"Mandrake": { fail("TODO: Implement me!") }
default: { fail("Unsupported osfamily") }
Debian: { fail("TODO: Implement me!") }
Suse: { fail("TODO: Implement me!") }
Solaris: { fail("TODO: Implement me!") }
Gentoo: { fail("TODO: Implement me!") }
Archlinux: { fail("TODO: Implement me!") }
Mandrake: { fail("TODO: Implement me!") }
default: { fail("Unsupported OS") }
}
}

0 comments on commit 4dc09fc

Please sign in to comment.