Fixed lint errors from python module.
This commit is contained in:
parent
f444fecd72
commit
bf52947b15
1 changed files with 6 additions and 6 deletions
|
@ -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",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue