Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename and break-up some of the facts for better compatibility with existing puppet facts #5

Open
liamjbennett opened this issue Oct 28, 2013 · 0 comments

Comments

@liamjbennett
Copy link
Owner

The defaults system facts included by puppet when running on macosx look something like this:

macosx_buildversion => 12F45
macosx_productname => Mac OS X
macosx_productversion => 10.8.5
macosx_productversion_major => 10.8
macosx_productversion_minor => 5

It would be good to refactor win_facts in the next major version to support a similar naming style:

windows_buildversion => [ 9431 ]
windows_productname => [ Windows | Windows Server ]
windows_productversion_name => [ 7 | 8 | 2003 | 2003 R2 | 2008 | 2008 R2 | 2012 ]
windows_productversion_number => [6.1 | 6.2 | 6.3 ]
windows_productversion_sp => [1-3]

in addition to the existing facts:

windows_productkey
windows_sid
windows_systemtype

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant