feat: change enc repo to be tagged
- enc repository will download a specific tag - defaults to master - hiera set to release tag '0.1'
This commit is contained in:
@@ -34,7 +34,9 @@
|
||||
# This is designed to work on Unix-like systems only.
|
||||
#
|
||||
class profiles::puppet::enc (
|
||||
String $enc_repo,
|
||||
String $repo,
|
||||
String $release = 'master',
|
||||
Boolean $force = false,
|
||||
) {
|
||||
|
||||
include profiles::git::git
|
||||
@@ -42,7 +44,9 @@ class profiles::puppet::enc (
|
||||
vcsrepo { '/opt/puppetlabs/enc':
|
||||
ensure => latest,
|
||||
provider => git,
|
||||
source => $enc_repo,
|
||||
source => $repo,
|
||||
revision => $release,
|
||||
force => $force,
|
||||
require => Package['git'],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user