puppet/graphviz/manifests/init.pp
Ossi Salmi 24ecb51f6f Added support for RHEL and did some syntax cleaning
Assume that "RedHat" also works where "CentOS" does.
2012-09-05 17:29:36 +03:00

24 lines
434 B
Puppet

# 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",
default => "graphviz-python",
},
ensure => installed,
}
}