salopensource / sal-scripts

Apache License 2.0
23 stars 31 forks source link

adding ability to add salt grains in place of facter facts or in addition to. #22

Closed weswhet closed 7 years ago

weswhet commented 7 years ago

If you set the Preference GetGrains to True sal will now attempt to get Salt Grains and submit them with/as Facter Facts. If you have sal set to get both facts and grains it will insert grain=> in front of the grain key name. So the grain cpu_model would become grain=>cpu_model.

weswhet commented 7 years ago

@grahamgilbert requested changes have been made.

erikng commented 7 years ago

You guys missed the issue I (may) have found in #sal