Added cairo module

This commit is contained in:
Ossi Salmi 2010-11-09 14:41:07 +02:00 committed by Timo Mkinen
parent ff6b42fc09
commit e22f352bc7

30
cairo/manifests/init.pp Normal file
View file

@ -0,0 +1,30 @@
# Install cairo.
#
class cairo {
package { "cairo":
name => $operatingsystem ? {
debian => "libcairo2",
ubuntu => "libcairo2",
default => "cairo",
},
ensure => installed,
}
}
# Install python bindings for cairo.
#
class cairo::python inherits cairo {
package { "pycairo":
name => $operatingsystem ? {
debian => "python-cairo",
ubuntu => "python-cairo",
default => "pycairo",
},
ensure => installed,
}
}