You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/puppet-on-gcp/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ cascade:
7
7
8
8
minutes_to_complete: 30
9
9
10
-
who_is_this_for: This learning path is intended for software developers deploying and optimizing Puppet workloads on Linux/Arm64 environments, specifically using Google Cloud C4A virtual machines powered by Axion processors.
10
+
who_is_this_for: This is an introductory topic for software developers deploying and optimizing Puppet workloads on Arm Linux environments, specifically using Google Cloud C4A virtual machines powered by Axion processors.
11
11
12
12
learning_objectives:
13
13
- Provision an Arm-based SUSE SLES virtual machine on Google Cloud (C4A with Axion processors)
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/puppet-on-gcp/baseline.md
+54-26Lines changed: 54 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,47 +6,62 @@ weight: 5
6
6
layout: learningpathall
7
7
---
8
8
9
-
## Puppet Baseline Testing on GCP SUSE VMs
10
-
In this guide, you will perform baseline testing of Puppet on a GCP SUSE Arm64 VM to verify that the installation works correctly. You will check Puppet and Facter versions, run basic Puppet commands, apply a simple manifest, and confirm that system facts are collected accurately.
9
+
## Puppet baseline testing on GCP SUSE VMs
11
10
12
-
### Verify Puppet Installation
13
-
Verify that Puppet and Facter are correctly installed and respond to version checks:
11
+
You can perform baseline testing of Puppet on a GCP SUSE Arm64 VM to verify that the installation works correctly. You will check Puppet and Facter versions, run basic Puppet commands, apply a simple manifest, and confirm that system facts are collected accurately.
12
+
13
+
### Verify the Puppet installation
14
+
15
+
Verify that Puppet and Facter are correctly installed and respond to version checks.
16
+
17
+
Check the Puppet version:
14
18
15
-
Version Check:
16
19
```console
17
20
puppet --version
18
21
```
19
-
Output:
22
+
23
+
The output shows the installed version:
24
+
20
25
```output
21
26
8.10.0
22
27
```
23
-
Version Check:
28
+
29
+
Check the Facter version:
24
30
```console
25
31
facter --version
26
32
```
27
-
Output:
33
+
34
+
The output shows the Facter version:
35
+
28
36
```output
29
37
4.10.0
30
38
```
31
-
Version Check:
39
+
40
+
Check the Ruby version, which is a dependency for Puppet:
41
+
32
42
```console
33
43
ruby -v
34
44
```
35
-
Output:
45
+
46
+
The output confirms the Ruby version and architecture:
Create and run a basic Puppet script to make sure Puppet can apply configurations. If it successfully creates the test file, your Puppet agent functions as expected.
100
+
101
+
Create a basic Puppet script to make sure Puppet can apply configurations. If it successfully creates the test file, your Puppet agent functions as expected.
Notice: Compiled catalog for danson-puppet-2.c.arm-deveco-stedvsl-prd.internal in environment production in 0.01 seconds
103
123
Notice: /Stage[main]/Main/File[/tmp/puppet_test.txt]/ensure: defined content as '{sha256}bcf972b61979afe69626549b3f3f30798aeb50b359e76603a36e96b2abbe73c0'
104
124
Notice: Applied catalog in 0.01 seconds
105
125
```
106
126
107
-
**Then verify:**
108
-
109
127
Open the file created by Puppet to confirm the content matches your script. This step validates that Puppet executed your manifest correctly.
110
128
111
129
```console
@@ -117,14 +135,15 @@ Output:
117
135
Hello from Puppet on SUSE ARM64!
118
136
```
119
137
120
-
### Check Facter Integration
121
-
Run `facter` commands to verify that it collects accurate system details like OS and CPU type. This ensures Puppet can gather the facts it needs for automation decisions.
138
+
### Check Facter integration
139
+
140
+
Run `facter` commands to verify that it collects accurate system details, such as the OS and CPU type. This ensures Puppet can gather the facts it needs for automation decisions.
122
141
123
-
OS Check:
142
+
Check the OS:
124
143
```console
125
144
facter os
126
145
```
127
-
Output:
146
+
The output is similar to the following:
128
147
```output
129
148
{
130
149
architecture => "aarch64",
@@ -151,19 +170,27 @@ Output:
151
170
}
152
171
}
153
172
```
154
-
Architecture Check:
173
+
174
+
Check the architecture:
175
+
155
176
```console
156
177
facter architecture
157
178
```
158
-
Output:
179
+
180
+
The output is:
181
+
159
182
```output
160
183
aarch64
161
184
```
162
-
Processors Check:
185
+
186
+
Check the processors:
187
+
163
188
```console
164
189
facter processors
165
190
```
166
-
Output:
191
+
192
+
The output is similar to the following:
193
+
167
194
```output
168
195
{
169
196
cores => 4,
@@ -179,4 +206,5 @@ Output:
179
206
threads => 1
180
207
}
181
208
```
182
-
With these checks complete, proceed to the Puppet benchmarking section to run workload‑focused tests on the GCP SUSE VMs.
209
+
210
+
With these checks complete, proceed to the Puppet benchmarking section to run workload-focused tests on the GCP SUSE VMs.
0 commit comments