This message was deleted.
# puppet
s
This message was deleted.
g
reportdir
is the location used by
store
. Are your agents configured to send reports with
report = true
in the
[agent]
section of the config?
k
yes and no. report = true is the default, so I never specified that in the config. BUT - since it's a problem, I did try putting that in a node's config (puppet.conf) and it didn't help.
g
I don't use
store
normally but I just enabled it now and it did write reports for me. What do you get from
puppet config --section server print reportdir
run from the Puppet server? For me that returns a different path compared to without "`--section server`" for some reason.
k
Yea, mine is different too ~/.puppetlabs/opt/puppet/cache/reports Which also doesn't exist, my ~/.puppetlabs/opt/puppet/ dir is empty. What even puts that .puppetlabs/ dir in there? I'm on freebsd, there's not any 'puppetlabs' anywhere, everything is /usr/local/etc/puppet...
that said, I'm creating those dirs now. 😄
def don't want that being in my home dir but...
g
Not familiar with freebsd at all..... you might have to wait for someone smarter to answer 😏
🤣 1
y
You should run the puppet config as root
Otherwise it’ll use homedir
til 1
k
yep /var/puppet/reports
y
You may want to run puppet agent with —trace option to see if it does even try to store any report
Maybe both —debug and —trace
k
Thanks for your timely reply! Here's my output, grep'd for 'report'
so, not trying to store any report? It seems to be populating puppetdb and my puppet-summary dashboard...
🤔 1
y
Cannot check it now.. but maybe later or maybe someone will share some ideas