Skip to content

(maint) Remove Facter.method_missing#623

Merged
kylog merged 1 commit intopuppetlabs:facter-2from
adrienthebo:maint/facter-2/facter-module-method-missing
Feb 4, 2014
Merged

(maint) Remove Facter.method_missing#623
kylog merged 1 commit intopuppetlabs:facter-2from
adrienthebo:maint/facter-2/facter-module-method-missing

Conversation

@adrienthebo
Copy link

The ability to use method_missing was added in 2006 but was never
documented, explained, or generally acknowledge. It was a constant
surprise when invoking a non-existent method on Facter would cause all
facts to be loaded and possibly a completely nonsensical value would be
returned. This commit removes the given code so we can return to a more
sane state of affairs.

@jhoblitt
Copy link

jhoblitt commented Feb 4, 2014

outstanding

The ability to use method_missing was added in 2006 but was never
documented, explained, or generally acknowledge. It was a constant
surprise when invoking a non-existent method on Facter would cause all
facts to be loaded and possibly a completely nonsensical value would be
returned. This commit removes the given code so we can return to a more
sane state of affairs.
kylog pushed a commit that referenced this pull request Feb 4, 2014
…-method-missing

(maint) Remove Facter.method_missing
@kylog kylog merged commit 88e3c69 into puppetlabs:facter-2 Feb 4, 2014
@puppetcla
Copy link

CLA signed by all contributors.

@adrienthebo adrienthebo deleted the maint/facter-2/facter-module-method-missing branch February 14, 2014 21:47
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.

4 participants