Lumiere
05/16/2024, 2:29 PMJoel Wilson
05/16/2024, 2:29 PMiptables-persistent
Joel Wilson
05/16/2024, 2:30 PMnate
05/16/2024, 2:41 PMbastelfreak
05/16/2024, 3:28 PMJoel Wilson
05/16/2024, 3:31 PMbastelfreak
05/16/2024, 3:36 PMJoel Wilson
05/16/2024, 3:37 PMbastelfreak
05/16/2024, 3:38 PMbastelfreak
05/16/2024, 3:39 PMJoel Wilson
05/16/2024, 3:39 PMbastelfreak
05/16/2024, 3:39 PMbastelfreak
05/16/2024, 3:39 PMCVQuesty
05/16/2024, 3:56 PMIan CB
05/16/2024, 4:22 PMcsharpsteen
05/16/2024, 4:25 PMiptables
on most recent distros was just a nftables frontend that takes the old syntax in and emits the new rules.CVQuesty
05/16/2024, 4:36 PMCVQuesty
05/16/2024, 4:36 PMAndrew
05/16/2024, 5:19 PM/etc/puppetlabs/enterprise
. The referenced resource is in the enterprise modules at: modules/puppet_enterprise/manifests/master/meep.pp
. Doesn't appear to be breaking anything, just a little odd.Yehuda Katz
05/16/2024, 10:33 PMKhamsonh M.Khounlivong
05/17/2024, 6:46 AMtuxmea
05/17/2024, 7:13 AMNeeloj
05/17/2024, 7:19 AMfile { '/srv':
ensure => directory,
}
file { '/srv/data':
ensure => directory,
require => File['/srv'],
}
and on node database I use the mysql::server::backup
class { 'mysql::server::backup':
...
...
backupdir => '/srv/data',
...
...
}
I get duplicate declaration Error because the backupdir
looks like:
file { $backupdir:
ensure => 'directory',
mode => $backupdirmode,
owner => $backupdirowner,
group => $backupdirgroup,
}
https://github.com/puppetlabs/puppetlabs-mysql/blob/f51fabd6dd907c57885632a4a0ca26065c38497f/manifests/backup/xtrabackup.pp#L171
How can I solve this Error ? thanks in advanceKhamsonh M.Khounlivong
05/17/2024, 7:24 AMfile { "${backupdir}_$user":
path => $backupdir,
bastelfreak
05/17/2024, 9:39 AMBrian Schonecker
05/17/2024, 4:37 PMMarshall
05/17/2024, 9:27 PM# Stop the wuauserv process if it's running
exec { 'Stop_wuauserv_process':
provider => powershell,
command => 'Stop-Service -Name wuauserv -Force',
onlyif => '(Get-Service wuauserv).Status -eq \'Running\'',
}
I've tried:
unless => '(Get-Service wuauserv).Status -eq \'Stopped\''.
It runs this exec no matter the return value in powershell of True or False.
On the agents, I'm running puppet 8.5.1 and the powershell module is v. 6.0.0.Mohammed Amer
05/18/2024, 6:51 PMUniplexed
05/18/2024, 10:57 PMCorporate Gadfly
05/19/2024, 12:49 AMpp_role
CSR attribute (https://www.puppet.com/docs/puppet/8/ssl_attributes_extensions.html). I usually clean individual agent FQDNs on the puppet server, then clear out the ssl
directory on the agent, populate /etc/puppetlabs/puppet/csr_attributes.yaml
with the proper contents, run puppet agent -t
and then sign on the puppet server.
How do I go about using pp_role
in my puppet server certificate itself? Alarm bells are ringing in my head if I was to clean the ssl
directory on puppet server.