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

Commit e172c80

Browse files
committed
Allow github token to be retrieved from a deferred function
This allows you to ``` class{'github_actions_runner': personal_access_token => Deferred('secret::get',['poc']), } ``` for the existing case where a string is used the module will operate in the same way.
1 parent 7c1e1bb commit e172c80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/instance.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
mode => '0755',
132132
owner => $user,
133133
group => $group,
134-
content => epp('github_actions_runner/configure_install_runner.sh.epp', {
134+
content => deferrable_epp('github_actions_runner/configure_install_runner.sh.epp', {
135135
personal_access_token => $personal_access_token,
136136
token_url => $token_url,
137137
instance_name => $instance_name,

metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": [
1111
{
1212
"name": "puppetlabs-stdlib",
13-
"version_requirement": ">= 1.0.0 < 7.0.0"
13+
"version_requirement": ">= 8.4.0 < 10.0.0"
1414
},
1515
{
1616
"name": "camptocamp/systemd",

0 commit comments

Comments
 (0)