Skip to content

(PA-2183) Quote fact name in fact_on helper#79

Merged
melissa merged 1 commit into
puppetlabs:masterfrom
ekinanp:PA-2183
Oct 23, 2018
Merged

(PA-2183) Quote fact name in fact_on helper#79
melissa merged 1 commit into
puppetlabs:masterfrom
ekinanp:PA-2183

Conversation

@ekinanp
Copy link
Copy Markdown
Contributor

@ekinanp ekinanp commented Oct 23, 2018

The fact name can have spaces. Thus, it should be quoted before it is passed
into the shell.

The fact name can have spaces. Thus, it should be quoted before it is passed
into the shell.
@ekinanp
Copy link
Copy Markdown
Contributor Author

ekinanp commented Oct 23, 2018

An example of a fact name with spaces is ekinanp/facter@31d3400 where on Windows, primary_interface has a space in it.

@melissa melissa merged commit 445b7ac into puppetlabs:master Oct 23, 2018
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