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
2,686 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
• 59,230 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
1,075 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
1,527 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
• 59,230 points
1,534 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
• 59,230 points
1,305 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
4,056 views
+2 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
• 59,230 points
1,485 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
• 59,230 points
1,266 views
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