Skip to content

Commit 09747cd

Browse files
committed
puppet-lint: autofix
1 parent baa3412 commit 09747cd

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

manifests/composer/auto_update.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
environment => $env,
5151
onlyif => "test `find '${path}' -mtime +${max_age}`",
5252
path => ['/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/', '/usr/local/bin', '/usr/local/sbin'],
53-
require => [File[$path], Class['::php::cli']],
53+
require => [File[$path], Class['php::cli']],
5454
}
5555
}

manifests/dev.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if $facts['os']['family'] == 'Debian' {
2525
# we can set the dependency only if we manage repos
2626
$require = $manage_repos ? {
27-
true => Class['::apt::update'],
27+
true => Class['apt::update'],
2828
false => undef,
2929
}
3030
} else {

manifests/extension/install.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
}
6767

6868
$package_require = [
69-
Class['::php::pear'],
70-
Class['::php::dev'],
69+
Class['php::pear'],
70+
Class['php::dev'],
7171
]
7272
}
7373

manifests/fpm/pool.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@
190190
if ($ensure == 'absent') {
191191
file { "${pool_base_dir}/${pool}.conf":
192192
ensure => absent,
193-
notify => Class['::php::fpm::service'],
193+
notify => Class['php::fpm::service'],
194194
}
195195
} else {
196196
file { "${pool_base_dir}/${pool}.conf":
197197
ensure => file,
198-
notify => Class['::php::fpm::service'],
198+
notify => Class['php::fpm::service'],
199199
require => Package[$real_package],
200200
content => template($template),
201201
owner => root,

manifests/global.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class php::global (
1515
Stdlib::Absolutepath $inifile = $php::config_root_inifile,
1616
Hash $settings = {}
17-
) inherits ::php {
17+
) inherits php {
1818
assert_private()
1919

2020
# No deep merging required since the settings we have are the global settings.

manifests/packages.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if $facts['os']['family'] == 'Debian' {
2525
if $manage_repos {
2626
include apt
27-
Class['::apt::update'] -> Package[$real_names]
27+
Class['apt::update'] -> Package[$real_names]
2828
}
2929
package { $real_names:
3030
ensure => $ensure,

manifests/pear.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
# the apt module provides apt::update. apt is only included if we manage any repos
4444
$require = $manage_repos ? {
45-
true => Class['::apt::update'],
45+
true => Class['apt::update'],
4646
false => undef,
4747
}
4848
# Default PHP come with xml module and no seperate package for it

0 commit comments

Comments
 (0)