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 in Puppet by Liana
81 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 by Sirajul
• 37,930 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 in Puppet by Shalaka
37 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 in Puppet by Jason
171 views
0 votes
1 answer

Create a Custom function in puppet.

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

answered Jul 29 in Puppet by Sirajul
• 37,930 points
56 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 in Puppet by Sirajul
• 37,930 points
97 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
214 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 in Puppet by Sirajul
• 37,930 points
42 views
0 votes
1 answer