refacter: cleanup packages setup

This commit is contained in:
2024-02-17 22:35:30 +11:00
parent 73a21059f8
commit 12ff053c6d
18 changed files with 45 additions and 76 deletions
-2
View File
@@ -39,8 +39,6 @@ class profiles::puppet::enc (
Boolean $force = false,
) {
include profiles::packages::git
vcsrepo { '/opt/puppetlabs/enc':
ensure => latest,
provider => git,
+1 -3
View File
@@ -36,9 +36,6 @@ class profiles::puppet::g10k (
String $environments_path,
String $default_environment,
){
package { 'unzip':
ensure => installed,
}
archive { '/tmp/g10k.zip':
ensure => present,
@@ -47,6 +44,7 @@ class profiles::puppet::g10k (
extract_path => '/opt/puppetlabs/bin',
creates => '/opt/puppetlabs/bin/g10k',
cleanup => true,
require => Package['unzip']
}
file { '/opt/puppetlabs/bin/puppet-g10k':
-2
View File
@@ -37,8 +37,6 @@ class profiles::puppet::r10k (
String $r10k_repo,
){
include profiles::packages::git
vcsrepo { '/etc/puppetlabs/r10k':
ensure => latest,
provider => git,