diff --git a/puppet/modules/redmine/manifests/init.pp b/puppet/modules/redmine/manifests/init.pp index 2722b9389..b534e0824 100644 --- a/puppet/modules/redmine/manifests/init.pp +++ b/puppet/modules/redmine/manifests/init.pp @@ -30,6 +30,7 @@ Stdlib::Absolutepath $data_dir = '/var/lib/redmine', String $servername = 'projects.theforeman.org', Stdlib::Httpsurl $repo_url = 'https://github.com/theforeman/redmine', + Optional[String] $repo_branch = undef, String $username = 'redmine', String $db_name = 'redmine', String $db_password = extlib::cache_data('foreman_cache_data', 'db_password', extlib::random_password(32)), @@ -120,6 +121,7 @@ ensure => present, provider => 'git', source => $repo_url, + revision => $repo_branch, owner => $username, user => $username, notify => Exec['install redmine'],