Skip to content

Commit

Permalink
allow deploying from a different branch
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Sep 4, 2023
1 parent f6603e7 commit 72fe5f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions puppet/modules/redmine/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down Expand Up @@ -120,6 +121,7 @@
ensure => present,
provider => 'git',
source => $repo_url,
revision => $repo_branch,
owner => $username,
user => $username,
notify => Exec['install redmine'],
Expand Down

0 comments on commit 72fe5f6

Please sign in to comment.