From bf52947b154b880a857b150a8b68a20389e13c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Thu, 2 Aug 2012 11:06:24 +0300 Subject: [PATCH] Fixed lint errors from python module. --- python/manifests/init.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python/manifests/init.pp b/python/manifests/init.pp index 39e1e0b..238d6b9 100644 --- a/python/manifests/init.pp +++ b/python/manifests/init.pp @@ -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", }