Skip to content

Commit b475565

Browse files
committed
puppet-lint: fix relative_classname_inclusion
1 parent 69449e9 commit b475565

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

manifests/packages.pp

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

manifests/repo.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
# no contain here because apt does that already
1010
case $facts['os']['name'] {
1111
'Debian': {
12-
include ::php::repo::debian
12+
include php::repo::debian
1313
}
1414
'Ubuntu': {
15-
include ::php::repo::ubuntu
15+
include php::repo::ubuntu
1616
}
1717
default: {
1818
fail($msg_no_repo)
@@ -21,7 +21,7 @@
2121
}
2222
'FreeBSD': {}
2323
'Suse': {
24-
contain ::php::repo::suse
24+
contain php::repo::suse
2525
}
2626
'RedHat': {
2727
contain 'php::repo::redhat'

manifests/repo/ubuntu.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class php::repo::ubuntu (
99
$version = undef,
1010
) {
11-
include '::apt'
11+
include 'apt'
1212

1313
if($version == undef) {
1414
$version_real = '5.6'

0 commit comments

Comments
 (0)