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
+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':