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 in Puppet by Sammy
16 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 by Sirajul
• 30,140 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 26, 2018 in Puppet by shubham
• 6,890 points
312 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
28 views
0 votes
1 answer

Advantages of using puppet

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

answered Feb 9 in Puppet by Manisha
23 views
0 votes
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 14 in Puppet by Varshi
21 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
179 views
0 votes
1 answer
0 votes
1 answer

What is Puppet used for?

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

answered Jul 24 in Puppet by Sirajul
• 30,140 points
34 views
0 votes
1 answer