Slackbot
11/23/2022, 9:59 AMDavid Sandilands
11/23/2022, 10:18 AMIan CB
11/23/2022, 1:01 PMSlackbot
11/23/2022, 1:45 PMTom Boland
11/23/2022, 1:45 PMtom_bash_alias defined type inside my role class, just so I can do away with the repetition of repeating the target multiple times (it's only used once here). It's meant to just be a scope-local helper function. The bash_alias is defined type that targets the concat resource defined in the bashrc module, so tom_bash_alias just has closure over the $bashrc_filename value. I get an error when referring to it on line 16, saying it's undef. I've tried referring to it as role::tom_user::bashrc_filename as well.
# Tom UNIX user role
class role::tom_user {
$bashrc_filename = '/home/tom/_bashrc'
bashrc { 'tom_bashrc':
owner => $tom
filename => $bashrc_filename,
}
bash_history { 'tom_bash_history':
target => $bashrc_filename,
}
define tom_bash_alias (
String $command = undef,
) {
bash_alias { $name:
target => $bashrc_filename,
command => $command,
}
}
role::tom_user::tom_bash_alias { 'ifsharp':
command => "docker run -v \${pwd}:/notebooks -p 8888:8888 fsprojects/ifsharp",
}
}CVQuesty
11/23/2022, 9:14 PMCVQuesty
11/23/2022, 9:15 PMSlackbot
11/24/2022, 1:12 AMWilliam Myers
11/24/2022, 1:12 AMWilliam Myers
11/24/2022, 1:13 AMSlackbot
11/24/2022, 10:12 AMSamy
11/24/2022, 2:46 PMDr Bunsen Honeydew
11/24/2022, 6:45 PMAdrian Galbincea
11/25/2022, 9:11 AMrtib
11/25/2022, 6:57 PMpdk convert --default-template on a module done with an earlier version. The end of the debug log is
pdk (DEBUG): Completed analytics submission
pdk (ERROR): wrong number of arguments (given 4, expected 1)
I’ve tried to look into, but it’s driving me nuts. Does anyone know where this comes from?rtib
11/25/2022, 7:00 PMpdk convert --default-template on a module done with an earlier version. The end of the debug log is
pdk (DEBUG): Completed analytics submission
pdk (ERROR): wrong number of arguments (given 4, expected 1)
I’ve tried to look into, but it’s driving me nuts. Does anyone know where this comes from?Slackbot
11/26/2022, 9:17 PMsheds
11/26/2022, 9:17 PMSlackbot
11/28/2022, 9:52 AMDavid
11/28/2022, 10:28 AMDavid Sandilands
11/28/2022, 10:41 AMSlackbot
11/28/2022, 11:16 AMSlackbot
11/28/2022, 11:20 AMDr Bunsen Honeydew
11/28/2022, 11:20 AMpuppetlabs-firewall module at https://forge.puppet.com/puppetlabs/firewall?src=slack&channel=puppetAlex Fisher
11/28/2022, 11:21 AMLumiere
11/28/2022, 2:45 PMSlackbot
11/28/2022, 10:56 PMkenyon
11/29/2022, 12:46 AMDaehnomel
11/29/2022, 1:18 AMSlackbot
11/29/2022, 3:36 AM