Pass puppet-lint tests
This commit is contained in:
parent
ca60a9dcf5
commit
a157f9871d
4 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#
|
||||||
class git {
|
class git {
|
||||||
class { 'git::package': }
|
class { 'git::package': }
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#
|
||||||
class git::package {
|
class git::package {
|
||||||
anchor { 'git::package::begin': }
|
anchor { 'git::package::begin': }
|
||||||
anchor { 'git::package::end': }
|
anchor { 'git::package::end': }
|
||||||
|
@ -10,7 +11,7 @@ class git::package {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'RedHat': {
|
'RedHat': {
|
||||||
package { 'git':
|
package { 'git':
|
||||||
require => Anchor['git::package::begin'],
|
require => Anchor['git::package::begin'],
|
||||||
before => Anchor['git::package::end'],
|
before => Anchor['git::package::end'],
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#
|
||||||
class git::package::debian {
|
class git::package::debian {
|
||||||
include apt
|
include apt
|
||||||
apt::ppa { 'ppa:git-core/ppa': }
|
apt::ppa { 'ppa:git-core/ppa': }
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
class git::params {
|
#
|
||||||
|
class git::params {}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue