Using Puppet for Auditing

0 votes
I have a puppet infrastructure setup in my organisation such that i need to utilize it for auditing all the agent servers to check the packages that are installed and patch if needed, I have no clue as to how do i begin with this. Please help
Aug 30, 2019 in Puppet by Sammy
543 views

1 answer to this question.

0 votes

For auditing, there is a native Puppet metaparameter of audit:

file { '/etc/hosts':
  audit => [ owner, group, mode ],
}

Puppet will then generate auditing log messages, which are available in your standard Puppet reports:

audit change: previously recorded value owner root has been changed to owner james

One approach that you can use Puppet patch-management for is:

  • Manage your own mirrors of external package repositories with Puppet

  • Control when you update those mirrors when a patch comes out Have

  • Puppet update packages on a rough schedule with an Exec resource, cron-job etc.

answered Aug 30, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

+5 votes
2 answers

How To Deploy Windows Server Using Puppet?

Deploying windows server through Puppet is similar ...READ MORE

answered Mar 27, 2018 in Puppet by shubham
• 7,340 points
1,556 views
0 votes
1 answer

Ram requirements for puppet installation

4 GB would be less for proper ...READ MORE

answered Dec 19, 2018 in Puppet by Alan
502 views
0 votes
1 answer

Advantages of using puppet

These are the few advantages that makes ...READ MORE

answered Feb 9, 2019 in Puppet by Manisha
345 views
–1 vote
1 answer

Errors and warnings while installing graphite server using puppet.

Hey @Harish, If you puppet modules is /etc/puppet/modules, ...READ MORE

answered Feb 15, 2019 in Puppet by Varshi
487 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,503 views
+2 votes
1 answer
0 votes
1 answer

What is Puppet used for?

Puppet is one of the most widely ...READ MORE

answered Jul 24, 2019 in Puppet by Sirajul
• 59,230 points
516 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP