Just preference and consistency. We've been using puppet as a
substitute for shell commands that use the 'command [options]
arguments ... ' pattern and 'puppet resource ...' matches that
pattern nicely. But if by using here-documents we can match the
pattern pretty closely and we gain the additi
Hi,
at first glance, it doesn't seem to be possible.
I had never thought of using puppet resource in this way. Is there a
reason why you prefer it over puppet apply?
On 03/06/2013 07:49 AM, Robert Citek wrote:
> Hello all,
>
> How does one enter multi-line content using 'puppet resource file ..
Hello all,
How does one enter multi-line content using 'puppet resource file ...'
at the command line?
For example, I am trying to create a file called /tmp/hw.txt with two
lines of content:
$ cat /tmp/hw.txt
hello
world
This does not work:
$ puppet resource file hello_world \
path=/tmp/hw.t