(#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.