Creating a cron job in puppet

0 votes
I want to run puppet agent with cron rather than its init script; How can i do this?
Jul 29, 2019 in Puppet by Liana
593 views

1 answer to this question.

0 votes

Running a Puppet agent with cron can sometimes perform better and use less memory. 

You can create this cron job with Puppet:

$ sudo puppet resource cron puppet-agent ensure=present user=root minute=30 command='/usr/bin/puppet agent --onetime --no-daemonize --splay'
answered Jul 29, 2019 by Sirajul
• 55,420 points

Related Questions In Puppet

0 votes
1 answer

Install LAMP Stack by creating a new module - Puppet

Hey @Ruth, yes you can set up ...READ MORE

answered Mar 11, 2019 in Puppet by Shalaka
127 views
0 votes
1 answer

Is it possible to install puppet agent in a docker container on linux?

Hey @Janice, this is pretty simple. Create ...READ MORE

answered Mar 12, 2019 in Puppet by Jason
436 views
0 votes
1 answer

Create a Custom function in puppet.

All the custom functions are implemented as ...READ MORE

answered Jul 29, 2019 in Puppet by Sirajul
• 55,420 points
286 views
0 votes
1 answer

Puppet : Provisioning a Replica in PE for High availability.

Provisioning a replica duplicates specific components and ...READ MORE

answered Aug 1, 2019 in Puppet by Sirajul
• 55,420 points
247 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,420 points
599 views
0 votes
1 answer
0 votes
1 answer

Puppet: couldn't run a cron job

You should use the cron type that is ...READ MORE

answered Aug 8, 2019 in Puppet by Sirajul
• 55,420 points
149 views
0 votes
1 answer

Puppet in Docker: Creating a PuppetDB container.

We can run a PuppetDB server in ...READ MORE

answered Aug 20, 2019 in Puppet by Sirajul
• 55,420 points
145 views