Permalink
Browse files

added debian support.

  • Loading branch information...
uberj committed Apr 13, 2012
1 parent 5fa8688 commit 63ae8ab63bf84ac13ff86abe214011c553b47540
@@ -26,9 +26,9 @@
default => 'latest',
}
$inconsolata_package = $::operatingsystem ? {
- /Fedora/ => "levien-inconsolata-fonts",
- /Archlinux|Ubuntu/ => "ttf-inconsolata",
- default => "inconsolata",
+ /Fedora/ => "levien-inconsolata-fonts",
+ /Archlinux|Ubuntu|Debian/ => "ttf-inconsolata",
+ default => "inconsolata",
}
$inconsolata_ensure = "latest"
}
@@ -1,5 +1,9 @@
class keychain {
+ include keychain::params
package { "keychain":
ensure => latest,
}
+ package { "${keychain::params::package_askpass}":
+ ensure => latest,
+ }
}
@@ -2,16 +2,19 @@
$package_mesa = $::operatingsystem ? {
/Archlinux/ => "mesa",
/Ubuntu/ => "mesa-utils",
+ /Debian/ => "mesa-utils",
default => "",
}
$package_xorg = $::operatingsystem ? {
/Archlinux/ => "xorg-server",
/Ubuntu/ => "xserver-xorg",
+ /Debian/ => "xserver-xorg",
/Fedora/ => "xorg-x11-server-Xorg",
}
$package_xinit = $::operatingsystem ? {
/Archlinux/ => "xorg-xinit",
/Ubuntu/ => "xinit",
+ /Debian/ => "xinit",
/Fedora/ => "xorg-x11-xinit",
}
}
@@ -1,14 +1,16 @@
class xmonad::params {
$package_xmonad_core = $::operatingsystem ? {
/Fedora/ => "xmonad-core",
+ /Debian/ => "xmonad",
default => "xmonad-core",
}
$package_xmonad_gnome = $::operatingsystem ? {
/Fedora/ => "xmonad-gnome",
- default => "xmonad-gnome",
+ default => "",
}
$package_xmobar = $::operatingsystem ? {
/Fedora/ => "xmobar",
+ /Debian/ => "xmobar",
default => "xmobar",
}
}

0 comments on commit 63ae8ab

Please sign in to comment.