Massimiliano (Max)
11/07/2022, 11:02 AMMassimiliano (Max)
11/07/2022, 11:02 AMPuli Hari Krishna
11/07/2022, 2:24 PMkrishna kant mishra
11/07/2022, 2:39 PMCVQuesty
11/07/2022, 3:52 PMripienaar
11/07/2022, 4:33 PMripienaar
11/07/2022, 4:33 PMWilliam Myers
11/07/2022, 4:35 PMjhoblitt
11/07/2022, 7:28 PM-release packages for EL9 are only under /puppet/el/9/x86_64. This isn't the end of the world but it is a slight irritation as the default foreman/satellite provisioning templates assume they can construct a path to an rpm using rpm -Uvh<%= http_proxy %><%= http_port %> https://<%= repo_host %>/<%= repo_name %>-<%= repo_os %>-<%= os_major %>.noarch.rpm. Is this the "new way forward" and I need to PR a foreman fix or just an oversight?jhoblitt
11/07/2022, 7:29 PMjhoblitt
11/07/2022, 7:36 PMjhoblitt
11/07/2022, 7:38 PMpuppet<release> sub dir?vchepkov
11/07/2022, 7:58 PM<http://yum.puppet.com/puppet7-release-el-9.noarch.rpm>vchepkov
11/07/2022, 8:00 PMconzar
11/07/2022, 10:20 PMSlackbot
11/07/2022, 10:20 PMconzar
11/07/2022, 10:21 PMGET <https://gravatar.com/avatar/null.png?r=pg&s=20&d=404> 404Slackbot
11/08/2022, 7:00 AMBernd Schatz
11/08/2022, 7:01 AMbinford2k
11/08/2022, 7:09 AMSlackbot
11/08/2022, 9:03 AMkrishna kant mishra
11/08/2022, 9:10 AMSlackbot
11/08/2022, 10:33 AMNeeloj
11/08/2022, 10:35 AMfile { 'test_folder':
ensure => 'directory',
source => 'puppet:///modules/test',
recurse => true,
purge => true,
force => true,
path => 'C:/test',
source_permissions => ignore,
notify => Exec['prepare.ps1'],
}
exec { 'prepare.ps1':
path => $::path,
command => "& c:\\test\\prepare.ps1",
provider => powershell,
subscribe => File['test_folder'],
logoutput => true,
refreshonly => true
}
On client puppet agent -t
Error: '& c:\test\prepare.ps1; Exit 0' returned 1 instead of one of [0]
Error: /Stage[main]/Test::Copy/Exec[prepare.ps1]/returns: change from 'notrun' to ['0'] failed: '& c:\test\prepare.ps1; Exit 0' returned 1 instead of one of [0] (corrective)
Does anyone know why ?
Tahnk you allGuillem Liarte
11/08/2022, 10:57 AMSimon Karberg
11/08/2022, 11:51 AMdecoderbufs with my pgsql. i could "hardcode" it in my class { 'postgresql::server' } but that is hardcoded 🤔Artem Shaposhnikov
11/08/2022, 1:01 PMBrian Schonecker
11/08/2022, 1:10 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?Brian Schonecker
11/08/2022, 1:11 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.
Can anyone lend any suggestions?Brian Schonecker
11/08/2022, 1:11 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.
Can anyone lend any suggestions?