aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-25 15:12:19 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-25 15:12:19 -0200
commite9b090515562d5419208126da2932160cac5d45b (patch)
tree0608bb7df45ac333226b3a4833d061cb4b1dd5c9 /manifests
parent6aee2a78f75bfc01484b1591a10bda0de75ec95c (diff)
downloadpuppet-nodo-e9b090515562d5419208126da2932160cac5d45b.tar.gz
puppet-nodo-e9b090515562d5419208126da2932160cac5d45b.tar.bz2
Setting browser default alternative
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/utils/debian.pp32
1 files changed, 24 insertions, 8 deletions
diff --git a/manifests/subsystems/utils/debian.pp b/manifests/subsystems/utils/debian.pp
index a8f2b9d..0d74beb 100644
--- a/manifests/subsystems/utils/debian.pp
+++ b/manifests/subsystems/utils/debian.pp
@@ -65,14 +65,6 @@ class utils::personal::debian {
ensure => installed,
}
- # Java alternative
- file { "/etc/alternatives/java":
- ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java",
- owner => root,
- group => root,
- require => Package['sun-java6-jre'],
- }
-
# Lenny only
package { [ 'mozilla-firefox-adblock' ]:
ensure => $lsbdistcodename ? {
@@ -142,4 +134,28 @@ class utils::personal::debian {
group => root,
require => Package['flashplugin-nonfree'],
}
+
+ # Browser alternative
+ file { "/etc/alternatives/x-www-browser":
+ ensure => "/usr/bin/iceweasel",
+ owner => root,
+ group => root,
+ require => Package['iceweasel'],
+ }
+
+ # Browser alternative: manpage
+ file { "/etc/alternatives/x-www-browser.1.gz":
+ ensure => "/usr/share/man/man1/iceweasel.1.gz",
+ owner => root,
+ group => root,
+ require => Package['iceweasel'],
+ }
+
+ # Java alternative
+ file { "/etc/alternatives/java":
+ ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java",
+ owner => root,
+ group => root,
+ require => Package['sun-java6-jre'],
+ }
}