bastelfreak
04/14/2023, 8:29 AMexec { 'before_user':
command => 'test 1 = 2',
}
$alluser.each |$user| {
exec { "test_${user}":
command => "test",
refreshonly => true,
subscribe => Exec['before_user'],
}
}bastelfreak
04/14/2023, 8:49 AM$alluser.each |$user| {
exec { "test_${user}":
command => "test",
notify => Exec['after_user'],
}
}
exec { 'after_user':
command => 'test 1 = 2',
}bastelfreak
04/14/2023, 8:49 AM$alluser.each |$user| {
exec { "test_${user}":
command => "test",
notify => Exec['after_user'],
}
}
exec { 'after_user':
command => 'test 1 = 2',
}Slackbot
04/14/2023, 1:13 PMYorokobi
04/14/2023, 1:17 PMbastelfreak
04/14/2023, 1:22 PMbastelfreak
04/14/2023, 1:22 PM$ host <http://forgeapi.puppet.com|forgeapi.puppet.com>
<http://forgeapi.puppet.com|forgeapi.puppet.com> is an alias for <http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net>.
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has address 18.154.63.32
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has address 18.154.63.9
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has address 18.154.63.87
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has address 18.154.63.41
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has IPv6 address 2600:9000:243d:2a00:1b:3556:90c0:93a1
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has IPv6 address 2600:9000:243d:7600:1b:3556:90c0:93a1
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has IPv6 address 2600:9000:243d:7000:1b:3556:90c0:93a1
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has IPv6 address 2600:9000:243d:600:1b:3556:90c0:93a1
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has IPv6 address 2600:9000:243d:c400:1b:3556:90c0:93a1
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has IPv6 address 2600:9000:243d:2400:1b:3556:90c0:93a1
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has IPv6 address 2600:9000:243d:bc00:1b:3556:90c0:93a1
<http://d3e1bbc2322vk3.cloudfront.net|d3e1bbc2322vk3.cloudfront.net> has IPv6 address 2600:9000:243d:a400:1b:3556:90c0:93a1Yorokobi
04/14/2023, 1:22 PMbastelfreak
04/14/2023, 1:23 PMvchepkov
04/14/2023, 1:26 PMYorokobi
04/14/2023, 1:27 PMbastelfreak
04/14/2023, 1:30 PMbastelfreak
04/14/2023, 1:30 PMbastelfreak
04/14/2023, 1:30 PMSlackbot
04/14/2023, 2:26 PMSlackbot
04/14/2023, 4:15 PMJohn O'Connor
04/14/2023, 5:17 PMJoel Wilson
04/14/2023, 5:26 PMMassimiliano (Max)
04/14/2023, 5:56 PMrequire 'facter'
Facter.value('blahblah')
but it doesn't work.
I could pass the fact as function parameter, and that's that. But I'd like to get it working.
It works with the default factsMassimiliano (Max)
04/14/2023, 5:56 PMrequire 'facter'
Facter.value('blahblah')
but it doesn't work.
I could pass the fact as function parameter, and that's that.
But I'd like to get it workingMassimiliano (Max)
04/14/2023, 5:57 PMrequire 'facter'
Facter.value('blahblah')
but it doesn't work.
I could pass the fact as function parameter, and that's that. But I'd like to get it working.
It works with the default factsMassimiliano (Max)
04/14/2023, 6:03 PMMassimiliano (Max)
04/14/2023, 6:03 PMSlackbot
04/14/2023, 6:15 PMhelindbe
04/14/2023, 6:16 PMSlackbot
04/14/2023, 6:22 PMbinford2k
04/14/2023, 6:35 PMhelindbe
04/14/2023, 8:52 PMziggy
04/14/2023, 10:59 PMsigners:
user:
key: |
<%= $user_ca %>
The contents of user_ca is a private key; however, when I do this, the outcome is:
signers:
user:
key: |
-----BEGIN OPENSSH PRIVATE KEY-----
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX
-----END OPENSSH PRIVATE KEY-----
The first line is correct, but the ones at the bottom are not inline with the top. Is there a way to ensure they are all aligned with the top line?ziggy
04/14/2023, 11:00 PMsigners:
user:
key: |
<%= $user_ca -%>
The contents of user_ca is a private key; however, when I do this, the outcome is:
signers:
user:
key: |
-----BEGIN OPENSSH PRIVATE KEY-----
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX
-----END OPENSSH PRIVATE KEY-----
The first line is correct, but the ones at the bottom are not inline with the top. Is there a way to ensure they are all aligned with the top line?