Slackbot
05/25/2022, 7:46 PMRyan Pillay
05/25/2022, 8:52 PMError: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could not parse for environment production: This Name has no effect. A value was produced and then forgotten (one or more preceding expressions may have the wrong form) (file: /etc/puppetlabs/code/environments/production/manifests/site.pp, line: 98, column: 1) on node
Here's my site.pp
, it seems it doesn't like the sudoers
class yet the asterisk
applies fine
node '<http://puppet.mydomain.com|puppet.mydomain.com>' {
include 'agent_config'
include 'euhosts'
class {"asterisk":astVer =>'ast18'}
class {"sudoers":os=>'rhel7'}
}
natemccurdy
05/25/2022, 9:13 PMRobDog
05/25/2022, 10:04 PMLumiere
05/25/2022, 10:06 PMclass {"asterisk":
astVer => 'ast18',
}
is the way that will help people read your code quicklyLumiere
05/25/2022, 10:06 PMclass {"asterisk":
astVer => 'ast18',
}
is the way that will help people read your code quicklynatemccurdy
05/25/2022, 10:30 PMfriedbob
05/26/2022, 3:17 PMSlackbot
05/26/2022, 3:19 PMfriedbob
05/26/2022, 3:21 PMLumiere
05/26/2022, 3:21 PMLumiere
05/26/2022, 3:22 PMDr Bunsen Honeydew
05/26/2022, 5:45 PMJonathon Anderson
05/26/2022, 6:17 PM--debug
isn't showing the command being executed for an exec resource with powershell provider. Any way to get that output?binford2k
05/26/2022, 6:27 PMJonathon Anderson
05/26/2022, 6:30 PMexec { 'Azure Arc Registration':
command => "& C:\\Installs\\AzureArc\\Register-ArcServer.ps1 -WorkloadName ${workload_name} -Criticality ${criticality} -Environment ${environment} -StartDate ${start_date} -CreatedBy ${created_by}",
unless => '& C:\\Installs\\AzureArc\\Register-ArcServer.ps1 -Check',
cwd => 'C:\\Installs\\AzureArc',
provider => 'powershell',
require => File['Azure Arc Registration Script'],
}
hbui
05/26/2022, 6:32 PMunless
runs successfullyJonathon Anderson
05/26/2022, 6:32 PMNotice: /Stage[main]/arc::Windows/Exec[Azure Arc Registration]/returns: executed successfully (corrective)
Jonathon Anderson
05/26/2022, 6:32 PMJonathon Anderson
05/26/2022, 6:33 PMbinford2k
05/26/2022, 6:33 PMJonathon Anderson
05/26/2022, 6:33 PMDean
05/26/2022, 6:33 PMhbui
05/26/2022, 6:33 PMbinford2k
05/26/2022, 6:34 PMJonathon Anderson
05/26/2022, 6:35 PMJonathon Anderson
05/26/2022, 6:42 PMSerin Abraham
05/27/2022, 1:21 AMLumiere
05/27/2022, 1:28 AMYorokobi
05/27/2022, 1:28 AM