Aaron Russo
10/31/2022, 8:23 PMbastelfreak
10/31/2022, 8:24 PMbastelfreak
10/31/2022, 8:24 PMAaron Russo
10/31/2022, 8:25 PMbastelfreak
10/31/2022, 8:28 PMAaron Russo
10/31/2022, 9:27 PMAaron Russo
10/31/2022, 9:27 PMAaron Russo
10/31/2022, 9:33 PMSlackbot
11/01/2022, 9:35 AMSlackbot
11/01/2022, 9:40 AMSlackbot
11/01/2022, 9:47 AMSlackbot
11/01/2022, 1:49 PMSlackbot
11/01/2022, 4:38 PMJoel Wilson
11/01/2022, 4:38 PMnatemccurdy
11/01/2022, 4:51 PMSlackbot
11/01/2022, 6:07 PMripienaar
11/01/2022, 6:23 PMDavid Sandilands
11/01/2022, 6:39 PMbinford2k
11/01/2022, 6:44 PMbinford2k
11/01/2022, 6:44 PMbinford2k
11/01/2022, 6:44 PMbinford2k
11/01/2022, 6:46 PMSlackbot
11/02/2022, 7:18 AMSinan
11/02/2022, 7:23 AMdays:
'Day Sunday':
- 'Go to US'
'Day Monday':
- 'Back to US'
'Day Tuesday':
- 'Almost Wednesday'
Now I want to show 'Almost Wednesday' by doing something like: lookup(days)['Day Tuesday']
I am new to Puppet, especially to working with data. Who can guide me in the right direction? What is the correct way of defining the data (array, hash, something else, how is it called?) and how to look up that data?Aaron Russo
11/02/2022, 7:27 AMdays:
'Day Sunday': 'Go to US'
'Day Monday': 'Back to US'
'Day Tuesday': 'Almost Wednesday'John Bond
11/02/2022, 10:15 AMpuppet apply file.pp
puppet apply -e "notice(lookup('days')['Day Tuesday'][0])"
if also recommend https://github.com/nwops/puppet-debuggerJohn Bond
11/02/2022, 10:16 AMpuppet apply file.pp
puppet apply -e "notice(lookup('days')['Day Tuesday'][0])"
if also recommend https://github.com/nwops/puppet-debuggersameer
11/02/2022, 1:03 PMError: Could not set 'file' on ensure: No such file or directory - A directory component in /etc/icinga2/check_vmware.cfg20221102-86199-1y2ahnh.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/monitoring/manifests/init.pp, line: 18)
file { '/etc/icinga2/check_vmware.cfg':
ensure => 'file',
owner => 'nagios',
group => 'nagios',
mode => '0750',
source => 'puppet:///modules/monitoring/check_vmware.cfg',
}Slackbot
11/02/2022, 1:05 PMsameer
11/02/2022, 1:09 PM