[Puppet Users] Bacula with Puppet

2023-08-24 Thread Laci D
Has someone worked before on Puppet manifest file that will install and configure bacula-fd on a client server and also configure Bacula server to backup that client? Preferably with password authentication. -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] set puppet agent log file

2023-06-14 Thread Laci D
I'm looking fir a way to configure puppet-agent to log in it's own file rather than /var/log/syslog. I found that if I edit puppet.conf and specify for ex: logdest = /var/log/puppetlabs/agent.log That does it, however I'm using theforeman-puppet module for other Puppet related configuration whic

Re: [Puppet Users] saz-ssh, hiera and options

2023-05-07 Thread Laci D
rameter ssh::server::options > must be used. > > > On 2. May 2023, at 17:29, Laci D wrote: > > Thank you Martin, adding the following example to my > *nodes/myserversfqdn.yaml* did it for me. > > ssh::server::match_block: > '*,!that_other_group': >

Re: [Puppet Users] saz-ssh, hiera and options

2023-05-02 Thread Laci D
s/saz/ssh/readme#hiera-example > > Hth, > Martin > > > On 1. May 2023, at 23:08, Laci D wrote: > > Hi, > > I'm using *saz-ssh* to configure sshd_config, options are stored in > Hiera. I didn't find the way how to implement "Match user/group", f

[Puppet Users] saz-ssh, hiera and options

2023-05-01 Thread Laci D
Hi, I'm using *saz-ssh* to configure sshd_config, options are stored in Hiera. I didn't find the way how to implement "Match user/group", for example: Match group *, !not_that_group 'ForceCommand' => 'internal-sftp', I did see the example but w

Re: [Puppet Users] hiera, template and array

2023-03-30 Thread Laci D
petlabs/ntp ? > ___ > *Dan White : d_e_...@icloud.com* > “Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > On Mar 28, 2023, at 10:30 AM, Laci D wrote: &g

Re: [Puppet Users] hiera, template and array

2023-03-29 Thread Laci D
27;ntp': servers => $ntp['ntp_host'], } } } hieradata/site.yaml ntp: ntp_host: - 169.254.169.123 On Wednesday, March 29, 2023 at 4:33:27 AM UTC-4 Martin Alfke wrote: > In EPP the template must look different: > > <% $site::profiles::ntp

Re: [Puppet Users] hiera, template and array

2023-03-28 Thread Laci D
n Alfke wrote: > My example is an epp template. > > What name does the variable have? $ntp? And: is this a hash with servers > key set to an array? > > In this case your erb (!) template can look like the following: > > <% @ntp[’servers’].each { |server| -%> > ser

Re: [Puppet Users] hiera, template and array

2023-03-28 Thread Laci D
catalog Error: Could not retrieve catalog; skipping run On Tuesday, March 28, 2023 at 2:57:23 AM UTC-4 Martin Alfke wrote: > You must iterate as servers is an array: > > <% $servers.each |$server| { -%> > server: <%= $server %> > <%- } -%> > > On 27. Mar 2023, at

[Puppet Users] hiera, template and array

2023-03-27 Thread Laci D
I'm working on defining NTP servers from Hiera. For Linux servers I have been using *puppetlabs-ntp*, which has been working nicely. Now I need to add support for FreeBSD. Above module doesn't support FreeBSD but I can edit ntp.conf with *file* resource type. This is where things got complicat

Re: [Puppet Users] Mount NFS share defined in hiera

2023-02-24 Thread Laci D
0%7C%7C%7C&sdata=KdyPZjMdxpttqHKI6o9qT74ZprPdYse%2Bdkn%2FX93RDbw%3D&reserved=0> > > > · Mount NFS share defined in hiera > <#m_6369492644251464280_group_thread_0> - 1 Update > > Mount NFS share defined in hiera > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgr

[Puppet Users] Mount NFS share defined in hiera

2023-02-23 Thread Laci D
I'm looking for manifest, hiera example which can mount an NFS defined in a hiera_hash. Someone must have one, thank you! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an