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 {
|
||||
|
||||
package { "python":
|
||||
ensure => installed,
|
||||
notify => $operatingsystem ? {
|
||||
"openbsd" => Exec["python-links"],
|
||||
default => undef,
|
||||
},
|
||||
ensure => installed,
|
||||
notify => $::operatingsystem ? {
|
||||
"openbsd" => Exec["python-links"],
|
||||
default => undef,
|
||||
},
|
||||
}
|
||||
|
||||
exec { "python-links":
|
||||
|
@ -39,7 +39,7 @@ define python::setup::install($python="python") {
|
|||
|
||||
exec { "python-setup-install-${name}":
|
||||
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'",
|
||||
creates => "${name}/build",
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue