We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de8a251 commit 7949f72Copy full SHA for 7949f72
plans/acceptance/pe_agent.pp
@@ -9,9 +9,15 @@
9
$puppet_server = get_targets('*').filter |$n| { $n.vars['role'] == 'ntpserver' }
10
$puppet_agent = get_targets('*').filter |$n| { $n.vars['role'] == 'ntpclient' }
11
12
- # Stage agent packages for Ubuntu 22.04 on the master
+ # Trigger PE to configure the master and stage agent packages
13
run_command(
14
- 'puppet infrastructure provision_agent --platform ubuntu-22.04-amd64',
+ '/opt/puppetlabs/puppet/bin/puppet infrastructure configure',
15
+ $puppet_server,
16
+ )
17
+
18
+ # Apply the repo class for Ubuntu 22.04
19
+ run_command(
20
+ 'puppet apply -e "include pe_repo::platform::ubuntu_2204_amd64"',
21
$puppet_server,
22
)
23
0 commit comments