schedules is good
enough for my case, as new versions of the package come out on a regular
basis. So thanks a log for your help :)
cheers
On Tuesday, July 29, 2014 5:18:22 PM UTC+2, jcbollinger wrote:
On Monday, July 28, 2014 8:56:08 AM UTC-5, Dimitris Stafylarakis wrote:
Hi people,
thanks
difficult to determine a priori which
resources will be refreshed, I was just asking in case someone found a
smart solution to this already. For now, I have to resolve to running
updates on every puppet run.
Thanks anyway
cheers,
Dimitris
On Friday, July 25, 2014 5:20:48 PM UTC+2, jcbollinger
the change in the dependent resource (e.g. change a
configuration file for apache and then reload the service). I'd like to
know if it's possible to schedule the exec resource BEFORE the change (e.g.
run apt-get update before upgrading a package).
Any insights? Thanks in advance
Best regards,
Dimitris
I think custom facts would be fine for the case of JAVA_HOME of the OP.
However, feeding data to the resource will not work for the self.instances
method unfortunately.
Custom facts won't work either, as facts are only determined prior to the
catalog compilation. At that point, the installation
I've been struggling with this for a while as well.
My problem is that I want a specific environment variable set for resources
not managed through Exec. Specifically I need an installation path for a
custom type/provider
I've tried setting variables in /etc/environment but as John points
I'm not sure I understand you properly, so please clarify if that's the
case.
I am in control of the environment, i.e. I can set a static path. But I'd
like it to be able to set it as a parameter, in case the installation path
changes.
To make a more specific case, I want my provider to know
In site.pp when i declare a class under node 'puppetagent.*' changes are
propagated correctly.
When the same class is declared under node default i have no effect on
changes.
node default {
# This is where you can declare classes for all nodes.
# Example:
# class { 'my_class': }
class