Skip to content

(#14667) Add external cache for facts#236

Closed
HAIL9000 wants to merge 2 commits intopuppetlabs:2.xfrom
HAIL9000:ticket/2.x/14667_add_external_cache_for_facts
Closed

(#14667) Add external cache for facts#236
HAIL9000 wants to merge 2 commits intopuppetlabs:2.xfrom
HAIL9000:ticket/2.x/14667_add_external_cache_for_facts

Conversation

@HAIL9000
Copy link

@HAIL9000 HAIL9000 commented Jun 5, 2012

Add a shell script which will send the output of Facter to
a yaml file, which can serve as an external cache for facts.

Add a shell script which will will send the output of facter to
a yaml file, which can serve as an external cache for facts.
@ripienaar
Copy link

This script suffers from a simple temp file symlink race condition that any attacker can exploit to overwrite any file on the system owned by the user who runs the script. Please do not merge it.

Also we should probably run it with -p.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file should probably have the "right" extension for the type of content: I would suggest facts.yaml, since "cache" is kind of implicit.

@HAIL9000
Copy link
Author

HAIL9000 commented Jun 6, 2012

@daniel-pittman Thanks for the suggestions.

Hopefully the most recent commit will at least address some of the security concerns.

@HAIL9000 HAIL9000 closed this Jun 12, 2012
whopper added a commit to whopper/facter that referenced this pull request Mar 18, 2015
…37-restrict-locale

(CFACT-137) Restrict Boost.Locale to Windows
florindragos pushed a commit that referenced this pull request Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants