You have a few options here. If it's just that one class, you could
run puppetd out of cron every 30 minutes through a trivial wrapper
script that splays. All resources in the sysconfig_class class will
be tagged with "sysconfig_class" so you could just run:
puppetd --test --tags sysconfig_class
If you'd like to apply everything but the app1_class, then please
watch feature request
http://projects.puppetlabs.com/issues/3746 which is a request to
support applying all tags except a certain set of tags using the
--tags option.
Cheers,
--
Jeff McCune
http://www.puppetlabs.com/
------ Regards David
�
�Topic: Updating node's configurationcmvelo <cmv...@gmail.com> Jul 13 10:31PM -0700 ^
�
Is there any way to have parts of a node's configuration updated
automatically
and other parts updated on-demand?
�
i.e.
�
node1 has two classes associated with it:
��app1_class
��sysconfig_class
�
and ideally I would like to have the sysconfig_class updated
regularly
(i.e. run puppetd as a daemon), but I would like the app1_class
updated
on-demand only (i.e. puppetd --onetime).
�
Is there an easy/straightforward way to set this up?
�
(fyi: using puppet version 25.5)
�
Thanks,
�
--
�
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Wouldn't it be possible to start puppet daemon mode with those options anyway?
Cheers.