Fixed lint errors from python module.

This commit is contained in:
Timo Mkinen 2012-08-02 11:06:24 +03:00
parent f444fecd72
commit bf52947b15

View file

@ -4,11 +4,11 @@
class python { class python {
package { "python": package { "python":
ensure => installed, ensure => installed,
notify => $operatingsystem ? { notify => $::operatingsystem ? {
"openbsd" => Exec["python-links"], "openbsd" => Exec["python-links"],
default => undef, default => undef,
}, },
} }
exec { "python-links": exec { "python-links":
@ -39,7 +39,7 @@ define python::setup::install($python="python") {
exec { "python-setup-install-${name}": exec { "python-setup-install-${name}":
path => "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin", path => "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin",
cwd => "${name}", cwd => $name,
command => "/bin/sh -c 'umask 022; ${python} setup.py install'", command => "/bin/sh -c 'umask 022; ${python} setup.py install'",
creates => "${name}/build", creates => "${name}/build",
} }