Expected Behavior
Sensu Enterprise yum repo url is populated with credentials from data bag as defined by enterprise_item attribute.
Current Behavior
Even with the sensu data bag and enterprise_item data bag item configured the credentials are not set for the enterprise repo which causes a repo failure.
Steps to Reproduce (for bugs)
- Set sensu data bag name attribute to:
default["sensu"]["data_bag"]["name"] = "sensu"
- Set sensu enterprise item to:
default["sensu"]["data_bag"]["enterprise_item"] = "enterprise"
- Configure enterprise item contents to the following:
{
"id": "enterprise",
"repository": {
"credentials": {
"user": "user",
"password": "password"
}
}
}
- Run chef client.
Context
Your Environment
- Version of this cookbook used: 4.1.0
- Version of Sensu used: Sensu: 1.1.2, Sensu Enterprise: 2.7.0-1
- Version of Chef used: 12.18.31
- Operating System and version (e.g. CentOS 7, Ubuntu 14.04): CentOS 7
Expected Behavior
Sensu Enterprise yum repo url is populated with credentials from data bag as defined by enterprise_item attribute.
Current Behavior
Even with the sensu data bag and enterprise_item data bag item configured the credentials are not set for the enterprise repo which causes a repo failure.
Steps to Reproduce (for bugs)
default["sensu"]["data_bag"]["name"] = "sensu"default["sensu"]["data_bag"]["enterprise_item"] = "enterprise"Context
Your Environment