diff --git a/manifests/init.pp b/manifests/init.pp index c571fb8..1bf9ca7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,3 +1,4 @@ +# class git { class { 'git::package': } } diff --git a/manifests/package.pp b/manifests/package.pp index 30af954..1f7d270 100644 --- a/manifests/package.pp +++ b/manifests/package.pp @@ -1,3 +1,4 @@ +# class git::package { anchor { 'git::package::begin': } anchor { 'git::package::end': } @@ -10,7 +11,7 @@ class git::package { } } 'RedHat': { - package { 'git': + package { 'git': require => Anchor['git::package::begin'], before => Anchor['git::package::end'], } diff --git a/manifests/package/debian.pp b/manifests/package/debian.pp index f8cd246..b7bc3df 100644 --- a/manifests/package/debian.pp +++ b/manifests/package/debian.pp @@ -1,3 +1,4 @@ +# class git::package::debian { include apt apt::ppa { 'ppa:git-core/ppa': } diff --git a/manifests/params.pp b/manifests/params.pp index b2a36e1..d5f7502 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,3 +1,2 @@ -class git::params { - -} +# +class git::params {}