Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
feltra committed Jan 15, 2019
1 parent f301750 commit 635e924
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
}

# Module compatibility check
$compatible = [ 'Debian', 'RedHat', 'Suse', 'Gentoo' ]
$compatible = [ 'Debian', 'RedHat', 'Suse', 'Gentoo', 'AIX' ]
if ! ($facts['os']['family'] in $compatible) {
fail("Module is not compatible with ${::operatingsystem}")
}
Expand Down
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

$pythondev = $facts['os']['family'] ? {
'AIX' => "${python}-devel",
'AIX' => "${python}-devel",
'RedHat' => "${python}-devel",
'Debian' => "${python}-dev",
'Suse' => "${python}-devel",
Expand Down
3 changes: 2 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# == Class: python::params
# @api private
# @summary The python Module default configuration settings.
#
# The python Module default configuration settings.
#
Expand Down
5 changes: 2 additions & 3 deletions manifests/pip.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

getparam(Class['python'], 'version')
# @summary Installs and manages packages from pip.
#
# @param name must be unique
Expand Down Expand Up @@ -74,8 +74,7 @@
if $group {
$_group = $group
} else {
include ::python::params
$_group = $python::params::group
$_group = getparam(Class['python'], 'group')
}
# Get SCL exec prefix
# NB: this will not work if you are running puppet from scl enabled shell
Expand Down

0 comments on commit 635e924

Please sign in to comment.