Brian Schonecker
11/08/2022, 1:22 PMfmask=0077
is added to the entry for the EFI partition (in my case /boot/efi). On all the servers, the UUID for the /boot/efi is different (as it should be). For example:
UUID=EC55-4757 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2
is an entry on one of my servers. I know I can use the mount resource to manage the mount, but I'm having trouble determining how to acquire the UUID=EC55-4757 and all of the existing mount options (in my example) in order to manage the mount.
I could (probably) write a very bad custom fact in order to get that information but I'm terrible at Ruby and I'm sure someone else must have this or a similar problem. I really don't want to use augeas if possible as that seems a bit dirty/hacky.
Additional (possibly) helpful information:
/dev/sda1 => {
filesystem => "vfat",
label => "EFIFS",
mount => "/boot/efi",
partlabel => "EFI System Partition",
partuuid => "45f4fd67-8dab-4f7b-9d7c-f46959d28c60",
size => "1.00 GiB",
size_bytes => 1073741824,
uuid => "E0F3-019B"
},
/boot/efi => {
available => "1012.13 MiB",
available_bytes => 1061289984,
capacity => "0.97%",
device => "/dev/sda1",
filesystem => "vfat",
options => [
"rw",
"relatime",
"fmask=0077",
"dmask=0077",
"codepage=437",
"iocharset=ascii",
"shortname=winnt",
"errors=remount-ro"
],
size => "1021.99 MiB",
size_bytes => 1071632384,
used => "9.86 MiB",
used_bytes => 10342400
},
efi => true
Can anyone lend any suggestions?Yorokobi
11/08/2022, 2:05 PMfactor partitions.'/dev/sda1'.uuid doesn't match?Brian Schonecker
11/08/2022, 2:10 PMYorokobi
11/08/2022, 2:10 PMfactor partitions.'/dev/sda1'.uuid doesn't match?Slackbot
11/08/2022, 2:12 PMSlackbot
11/08/2022, 2:18 PMmatt
11/08/2022, 2:18 PMmatt
11/08/2022, 2:19 PMDr Bunsen Honeydew
11/08/2022, 2:45 PMnmaludy
11/08/2022, 2:45 PMnmaludy
11/08/2022, 2:45 PMnmaludy
11/08/2022, 2:45 PMnmaludy
11/08/2022, 2:46 PMmatt
11/08/2022, 3:01 PMDr Bunsen Honeydew
11/08/2022, 3:45 PMDr Bunsen Honeydew
11/08/2022, 5:45 PMSlackbot
11/08/2022, 5:50 PMDr Bunsen Honeydew
11/08/2022, 5:50 PMpuppet-unbound module at https://forge.puppet.com/puppet/unbound?src=slack&channel=puppetnatemccurdy
11/08/2022, 5:55 PMSlackbot
11/08/2022, 6:03 PMSlackbot
11/08/2022, 6:05 PMjballiet
11/08/2022, 6:58 PMSlackbot
11/08/2022, 7:11 PMnatemccurdy
11/08/2022, 7:17 PMr10k puppetfile check command into their code development process.
That can check for syntax errors and warn if there’s a problem.
For example: https://github.com/natemccurdy/dotfiles/blob/main/home/.git_template/hooks/pre-commit#L48-L54jhoblitt
11/08/2022, 7:28 PMhelindbe
11/09/2022, 9:01 AM$forwarders.map |$x| {
if $forwarder_port { "$x $forwarder_port"}
else {$x}
}.join("; ")Slackbot
11/09/2022, 1:34 PMSlackbot
11/09/2022, 2:26 PMSlackbot
11/10/2022, 10:06 AMbittner
11/10/2022, 10:06 AMpuppetserver and the puppet-agent images from Docker Hub, but they seem to mess with iptables and hence don't run with Podman (Compose) alone. https://hub.docker.com/search?q=puppet
• I found two repositories that sport Puppet with Docker Compose setups, but again they don't run with Podman and I'm not sure whether they're actually targeted to developing locally (and not actually about running Puppet with Docker in production). https://github.com/puppetlabs-toy-chest/puppet-in-docker-examples/tree/master/compose (deprecated / archived), https://github.com/puppetlabs/pupperware (current)