I think you need to double quote strings that contain variables. So try:
line => "INSTANCE=$instance",
-Steve
On Fri, Mar 28, 2014 at 1:58 PM, Matt Gieselman wrote:
> Given the following snippet from an init.pp file:
>
> $instance = 22
>
> file_line { 'instance' :
>
>
In my experience, exporting nagios_command resources doesn't work so well.
What I've found works best, is to define nagios_command{}'s directly on the
server, rather than exporting and collecting them there later.
In my setup, the only resource that export is the nagios_host. I define
commands and
> Hi,
>
> I want to write a puppet module for xen on Debian. This module will need
> to manage one line in the file /etc/default/grub, namely the line
> starting with "GRUB_CMDLINE_XEN=". Currently I want to leave the rest of
> the file untouched.
>
> Which would be the best way to do this?
>
W
On Wed, Aug 15, 2012 at 8:53 AM, jerome wrote:
>Can the agent tell the master to clean the key for its hostname ?
This is possible, if you are comfortable with opening up access to the
puppet REST API on the master. In auth.conf, you can change the
options for the /certificiate_request path, to a
> This addresses how to distribute keys to node from the fileserver, but I
> wonder if there is a mechanism where if the key doesn't exist on the
> fileserver, the key that currently exists on the node is pulled in and saved
> for future reference - i.e. when new nodes are created.
I believe