Added graphviz module
This commit is contained in:
parent
e22f352bc7
commit
7da561f14b
1 changed files with 23 additions and 0 deletions
23
graphviz/manifests/init.pp
Normal file
23
graphviz/manifests/init.pp
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Install graphviz.
|
||||||
|
#
|
||||||
|
class graphviz {
|
||||||
|
|
||||||
|
package { "graphviz":
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
# Install python bindings for graphviz.
|
||||||
|
#
|
||||||
|
class graphviz::python inherits graphviz {
|
||||||
|
|
||||||
|
package { "graphviz-python":
|
||||||
|
name => $operatingsystem ? {
|
||||||
|
debian => "libgv-python",
|
||||||
|
ubuntu => "libgv-python",
|
||||||
|
},
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue