Skip to content

Commit e1067d8

Browse files
committed
More puppet-lint fixes
1 parent 8bfc5ff commit e1067d8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

manifests/init.pp

+13-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,25 @@
1414
class phpbrew (
1515
$php_install_dir = '/opt/phpbrew'
1616
) {
17-
case $operatingsystem {
17+
case $::operatingsystem {
1818
centos, redhat: {
1919
fail('CentOS or RedHat are not supported yet')
2020
}
2121
debian, ubuntu: {
2222
exec { '/usr/bin/apt-get -y update': }
2323

24-
$dependencies = [ 'autoconf', 'automake', 'curl', 'build-essential', 'libxslt1-dev', 're2c', 'libxml2-dev', 'php5-cli', 'libmcrypt-dev', 'php5-dev' ]
24+
$dependencies = [
25+
'autoconf',
26+
'automake',
27+
'curl',
28+
'build-essential',
29+
'libxslt1-dev',
30+
're2c',
31+
'libxml2-dev',
32+
'php5-cli',
33+
'libmcrypt-dev',
34+
'php5-dev'
35+
]
2536

2637
each($dependencies) |$dependency| {
2738
if ! defined(Package[$dependency]) {

0 commit comments

Comments
 (0)