> If the file has changed in the repo, meanwhil...
# puppet
c
If the file has changed in the repo, meanwhile, then does puppetserver keep the older version cached and return that version, or does it return a 404?
Oh, I get it; from the docs:
When requesting the file’s content via the static catalog’s metadata, the Puppet agent passes the file’s path, the catalog’s
code_id
, and the requested environment to Puppet Server's
static_file_content
API endpoint. The endpoint returns the appropriate version of the file’s contents as the
code_content
.
...so as long as the code-content-command can return the content for that code-id, then it will work. With a git repo under normal circumstances (no history rewriting), that would work.