Open ltutar opened 8 years ago
The module tries to download the war. curl -s -O https://gerrit-releases.storage.googleapis.com/gerrit-2.11.5.war
The production servers do not have internet access. It would be nice to be able to install the war off-line through file:///
I can now fool the puppet by putting the war in
${gerrit_home}/bin/gerrit-${gerrit_version}.war
as a pre-install step.
# download gerrit exec { "download gerrit ${gerrit_version}": cwd => "${gerrit_home}/bin", path => [ '/usr/bin', '/usr/sbin' ], command => "curl -s -O ${download_location}/gerrit-${gerrit_version}.war", creates => "${gerrit_home}/bin/gerrit-${gerrit_version}.war", user => $gerrit_user, group => $gerrit_user, }
@ltutar Was just looking this over a little bit. curl will accept a file:/// URL type. It doesn't do puppet:// resources. What specifically do you see as the actual usage?
The module tries to download the war. curl -s -O https://gerrit-releases.storage.googleapis.com/gerrit-2.11.5.war
The production servers do not have internet access. It would be nice to be able to install the war off-line through file:///
I can now fool the puppet by putting the war in
as a pre-install step.