Thank you very much.

El 18/9/19 a las 15:07, jcbollinger escribió:


On Wednesday, September 18, 2019 at 1:55:29 AM UTC-5, amateo wrote:

    Hi,

             I have a puppet resource I would like it to be processed
    just in one
    run every day, I don't need it to be processed in every run.

             Is this possible? How?


This is what schedules <https://puppet.com/docs/puppet/latest/metaparameter.html#schedule> are for.  So something like this:

|
schedule {'once per calendar day':
   period =>'daily',
   periodmatch =>'number',
}


mymodule::myresource {'x':
   schedule =>'once per calendar day',
}
|

The Schedule resource type has rather more flexibility than just that, and also some important caveats, so do read its docs.


John


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com <mailto:puppet-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0bc36085-9736-49d9-9503-fa9e8e62b38e%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/0bc36085-9736-49d9-9503-fa9e8e62b38e%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 868888337

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/04515e0e-fa20-36ad-4fab-04153d86cede%40um.es.

Reply via email to