Gerard Ryan
08/08/2022, 4:13 PMGerard Ryan
08/08/2022, 4:15 PMGerard Ryan
08/08/2022, 4:17 PMGerard Ryan
08/08/2022, 4:37 PMGerard Ryan
08/08/2022, 4:40 PMvchepkov
08/08/2022, 4:54 PMvchepkov
08/08/2022, 4:59 PMSlackbot
08/08/2022, 6:38 PMGerard Ryan
08/08/2022, 6:38 PMGerard Ryan
08/08/2022, 6:39 PMSlackbot
08/08/2022, 6:55 PMJoost
08/08/2022, 6:56 PMSlackbot
08/08/2022, 7:54 PMGerard Ryan
08/08/2022, 10:14 PMGerard Ryan
08/08/2022, 11:05 PMSlackbot
08/09/2022, 9:28 AMSlackbot
08/09/2022, 10:19 AMgoeldi
08/09/2022, 12:57 PMRyChannel
08/09/2022, 1:11 PMSlackbot
08/09/2022, 2:45 PMYorokobi
08/09/2022, 2:48 PM['noexec','nosuid','nodev']
) to append to $somevar = $facts['mountpoints']['/tmp']['options']
where each element of the array to append is itself added in separate steps.ma_garvo
08/09/2022, 3:44 PM$restart_command = "C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -executionpolicy remotesigned -file ${facts['nsclient_installdrive']}${install_path}/scripts/nagios-agent-restart.ps1"
service { $service_name:
ensure => running,
enable => true,
hasrestart => true,
restart => $restart_command,
}
user
08/09/2022, 9:23 PMYorokobi
08/09/2022, 10:30 PM$d = ['defaults']
$with_map = $d.map |$p| { $d << 'nodev' }
## [['defaults','nodev']]
sh6624gsj8
08/10/2022, 6:23 AMhelindbe
08/10/2022, 7:34 AM$options = ['a', 'b']
$extras = ['x', 'y']
$result = join([$options, $extras], ',')
will set $result
to "a,b,x,y"
helindbe
08/10/2022, 7:35 AMjoin()
function. This function also does flattening. For example:
$options = ['a', 'b']
$extras = ['x', 'y']
$result = join([$options, $extras], ',')
will set $result
to "a,b,x,y"
helindbe
08/10/2022, 7:39 AM$result = $options + $extras
As I showed earlier, the +
operator will append the elements of the right operand so you get ['a','b','x','y']
instead of ['a','b',['x', 'y']]
which you would get if using the <<
operator.Slackbot
08/10/2022, 12:17 PMJason Grammenos
08/10/2022, 12:17 PM2022-08-10T08:11:41.989-04:00 INFO [async-dispatch-2] [p.s.a.analytics-service] Puppet Server Update Service has successfully started and will run in the background
2022-08-10T08:11:41.989-04:00 INFO [async-dispatch-2] [p.s.a.analytics-service] Not submitting module metrics via Dropsonde -- submission is disabled. Enable this feature by setting `dropsonde.enabled` to true in Puppet Server's config.
what exactly is the puppetserver update service? and what is being updated?