Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Allow github token to be retrieved from a deferred function #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifests/instance.pp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
mode => '0755',
owner => $user,
group => $group,
content => epp('github_actions_runner/configure_install_runner.sh.epp', {
content => stdlib::deferrable_epp('github_actions_runner/configure_install_runner.sh.epp', {
personal_access_token => $personal_access_token,
token_url => $token_url,
instance_name => $instance_name,
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": [
{
"name": "puppetlabs-stdlib",
"version_requirement": ">= 1.0.0 < 7.0.0"
"version_requirement": ">= 8.4.0 < 10.0.0"
},
{
"name": "camptocamp/systemd",
Expand Down
2 changes: 1 addition & 1 deletion templates/configure_install_runner.sh.epp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%- | String $personal_access_token,
String $token_url,
String $instance_name,
Stdlib::Absolutepath $root_dir,
String $root_dir,
String $url,
String $hostname,
String $assured_labels,
Expand Down