Hi,
I'd like to be able to use subscribe with exec to refresh when files change,
but I'd like each refresh to be dependent on another exec--e.g., to test
configuration syntax. The closest I've been able to come is what I have
below (I've removed some of the rest of the detail), but the problem is
On Fri, Nov 14, 2008 at 8:43 AM, RijilV <[EMAIL PROTECTED]> wrote:
> In this case you could be kinda sneaky and use the 'onlyif' parameter:
>
> exec { "reload-squid":
> command => "/etc/init.d/squid reload",
> subscribe => Exec["check-squid"],
> refreshonly => true,
> onlyif => "/u
On Fri, Nov 14, 2008 at 9:11 AM, Casey Deccio <[EMAIL PROTECTED]> wrote:
> In this case, the squid -k parse would pass, and the squid init script would
> exit successfully, so squid would never detect a problem. However, squid
> would have problems functioning at run time (i.e.,
What is the appropriate client setting for runinterval to allow me to
disable client runs? I would like to have the puppetd daemon running but
only have it check in when triggered by another node.
Casey
--~--~-~--~~~---~--~~
You received this message because you a
Using puppet-0.24.5, I have installed RRDTool and have the following
configuration on the puppetmaster server:
[puppetmasterd]
reports = rrdgraph,tagmail
When a client checks in, however, I get the following message in the logs on
the server:
Report rrdgraph failed: Could not create RRD file
If a have a file that has "notify" set for a particular service, will the
service always be "restarted" when the file changes, or is there a way to
specify that it should instead "reload"? I know I can use exec with
"subscribe" and "refreshonly", but it seems like extra work if it could be
include
I'd like to be able to generate the contents of a file resource based on the
contents of another file resources. For example:
File { "/tmp/myfile":
source => "puppet:///mymodule/myfile",
}
File { "/tmp/otherfile":
content =>generate_otherfile(File["/tmp/myfile"])),
}
in this case the genera
Is there a "best practice" way to install custom packages--i.e., not from
the standard repository, but from a stand-alone .deb, .rpm, .tgz file,
etc.? Off the top of my head, I can think of creating a definition that
uses arguments for filename, version, etc., but I'm interested in what
others hav
Is it possible to access dependencies given a Resources Reference object?
For example, in my manifest I might want to build the command executed in an
exec (or service "restart") dynamically, based on the dependencies, so it
knows which files may have been modified in the process. This could be do