I have a group of packages that would be nice to add to a data bag in order to install them all. Is it possible to use the package resource with a data bag?
EDIT: For instance - this is how I'm doing it with the chocolatey resource:
workstation_apps = data_bag_item('winapps','desktop_apps')
chocolatey_package workstation_apps['apps']
This is the data bag structure:
{
"id": "desktop_apps",
"apps": [
"slack",
"putty",
"jre8",
"python2",
"ruby",
"chefdk",
"vmwarevsphereclient",
"vmwareworkstation",
"vagrant",
"terraform",
"packer",
"visualstudiocode",
"pushbullet",
]
}
This works with the "chocolatey" resource - but will it work with the standard package resource on linux (yum)?