(#23177) Specifies default value for package type's ensure attribute

This patch makes clear that the ensure attribute for packages defaults to 'installed'.
This will prevent confusion from users and make the documentaion more awesomeer.
Merge pull request #2076 from llowder/fix_for_23177

(#23177) Specifies default value for package type's ensure attribute