susmit shannigrahi wrote:
In puppet when we add a new file, we use this lines in the .pp files:
source => 'puppet:///config/web/applications/FreeMedia-error.html',
where as the actual location of the file (FreeMedia-error.html) is
[susmit@puppet1 puppet]$ find -name FreeMedia-error.html
So the source in the .pp file should be
Why this discrepancy? Just curious...
The [config] fileserver mount may point to /path/to/configs/, which
would allow this discrepancy to exist.
If you are going to change anything, maybe consider using [files] vs.
/path/to/files/ since that "name" for the "mount" appears to be most
Jeroen van Meeuwen