refacter: cleanup packages setup
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user