Michael Thomasson
07/11/2022, 6:37 PMrunlolarun
07/11/2022, 6:48 PMSlackbot
07/11/2022, 7:40 PMvchepkov
07/11/2022, 8:13 PMclass::param: "%{hiera('other_class::other_param')}"
ramindk
07/11/2022, 8:34 PMcronjob
Fairly easy fix.Dr Bunsen Honeydew
07/12/2022, 1:45 PMSlackbot
07/12/2022, 2:00 PMDr Bunsen Honeydew
07/12/2022, 2:45 PMBrian Schonecker
07/12/2022, 3:27 PMBrian Schonecker
07/12/2022, 3:28 PMvchepkov
07/12/2022, 3:28 PMvchepkov
07/12/2022, 3:29 PMSlackbot
07/12/2022, 3:31 PMBrian Schonecker
07/12/2022, 3:31 PMSlackbot
07/12/2022, 3:52 PMSlackbot
07/12/2022, 4:06 PMSlackbot
07/12/2022, 4:09 PMnwops
07/12/2022, 4:09 PMsmortex
07/12/2022, 4:26 PMApache::Vhost {
port => 443,
manage_docroot => false,
ssl => true,
mdomain => true,
use_servername_for_filenames => true,
use_port_for_filenames => true,
userdir => 'disabled',
}
smortex
07/12/2022, 4:29 PMsmortex
07/12/2022, 4:40 PMunknown(line 0)
)smortex
07/12/2022, 4:46 PMjoeypiccola
07/12/2022, 7:23 PMfile
resource (e.g. file { '/etc/haproxy-files/':
) that is recursively copying over several files. Iād like to restart a service if one of those files changes (e.g. /etc/haproxy-files/allowed_list
). Because the file
resource is recursive I canāt reference it like I normally would if it were an individual file (e.g. File["/etc/haproxy-files/allowed_list"] ~> Service["haproxy-blah"]
). Any ideas for how I would go about this? Thanks!natemccurdy
07/12/2022, 7:32 PMnatemccurdy
07/12/2022, 7:32 PMjoeypiccola
07/12/2022, 7:41 PMnatemccurdy
07/12/2022, 7:41 PMfile
resource just for that one file, then setup your relationships with that.natemccurdy
07/12/2022, 7:43 PMfile { '/etc/big_dir':
ensure => directory,
source => 'puppet:///modules/foo/big_dir',
recurse => true,
}
file { '/etc/big_dir/specific.txt':
ensure => file,
source => 'puppet:///modules/foo/big_dir/specific.txt',
notify => Service['some-service'],
}
natemccurdy
07/12/2022, 7:43 PMfile { '/etc/big_dir':
ensure => directory,
source => 'puppet:///modules/foo/big_dir',
recurse => true,
}
file { '/etc/big_dir/specific.txt':
ensure => file,
source => 'puppet:///modules/foo/big_dir/specific.txt',
notify => Service['some-service'],
}
joeypiccola
07/12/2022, 7:43 PMfile
resource for the allowed_list
despite the redundancy