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

Commit 7be5304

Browse files
author
Shimon Ohayon
committed
add reference file
1 parent d7e6b4c commit 7be5304

File tree

2 files changed

+128
-2
lines changed

2 files changed

+128
-2
lines changed

REFERENCE.md

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# Reference
2+
3+
## Table of Contents
4+
5+
**Classes**
6+
7+
* [`github_actions_runner`](#github_actions_runner)
8+
* [`github_actions_runner::install`](#github_actions_runner_install)
9+
* [`github_actions_runner::config`](#github_actions_runner_config)
10+
* [`github_actions_runner::service`](#github_actions_runner_service)
11+
12+
## Classes
13+
14+
### github_actions_runner
15+
16+
Guides the basic setup and installation of GitHub actions runnner on your system.
17+
18+
#### Parameters
19+
20+
The following parameters are available in the `apache` class.
21+
22+
##### `ensure`
23+
24+
Data type: `Enum['present', 'absent']]`
25+
Enum, Determine if to add or remove the resource.
26+
27+
##### `base_dir_name`
28+
29+
Data type: `Absolutepath`
30+
Location of the base directory for actions runner to be installed.
31+
32+
##### `repo_name`
33+
34+
Data type: `Optional[String]`
35+
36+
actions runner github repository name to serve.
37+
Default value: `undef`
38+
39+
##### `org_name`
40+
41+
Data type: `String`
42+
43+
actions runner github organization name.
44+
45+
##### `labels`
46+
47+
Data type: `Optional[Array[String]]`
48+
49+
A list of costum lables to add to a actions runner host.
50+
51+
Default value: `undef`
52+
53+
##### `hostname`
54+
55+
Data type: `String`
56+
57+
actions runner name
58+
59+
Default value: $::facts['hostname']
60+
61+
##### `personal_access_token`
62+
63+
Data type: `String`
64+
65+
GitHub PAT with admin permission on the repositories or the origanization.
66+
67+
68+
##### `package_name`
69+
70+
Data type: `String`
71+
72+
GitHub Actions runner offical package name.
73+
74+
**Example**:
75+
76+
```
77+
actions-runner-linux-x64
78+
```
79+
80+
##### `package_ensure`
81+
82+
Data type: `String`
83+
84+
GitHub Actions runner version to be used.
85+
86+
**Example**:
87+
88+
```
89+
2.272.0
90+
```
91+
92+
##### `repository_url`
93+
94+
Data type: `String`
95+
96+
A base URL to download GitHub actions runner.
97+
98+
**Example**:
99+
100+
```
101+
https://github.com/actions/runner/releases/download
102+
```
103+
104+
##### `user`
105+
106+
Data type: `String`
107+
108+
User to be used in Service and directories.
109+
110+
##### `group`
111+
112+
Data type: `String`
113+
114+
Group to be used in Service and directories.
115+
116+
### github_actions_runner::install
117+
118+
Install the files and packages for the module.
119+
120+
### github_actions_runner::config
121+
122+
Main path configuration of the module installation.
123+
124+
### github_actions_runner::service
125+
126+
The service setup for this module.

manifests/init.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# String, actions runner name.
2727
#
2828
# * personal_access_token
29-
# String, GitHub PAT with admin permission on the repositories or the origanization .
29+
# String, GitHub PAT with admin permission on the repositories or the origanization.
3030
#
3131
# * package_name
3232
# String, GitHub Actions runner offical package name.
@@ -35,7 +35,7 @@
3535
# String, GitHub Actions runner version to be used.
3636
#
3737
# * repository_url
38-
# String, URL to download GutHub actions runner.
38+
# String, URL to download GitHub actions runner.
3939
#
4040
# * user
4141
# String, User to be used in Service and directories.

0 commit comments

Comments
 (0)