Added cairo module
This commit is contained in:
parent
ff6b42fc09
commit
e22f352bc7
1 changed files with 30 additions and 0 deletions
30
cairo/manifests/init.pp
Normal file
30
cairo/manifests/init.pp
Normal 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,
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue