Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/customize client.rb for filter attributes. #43

Merged
merged 6 commits into from
Jun 14, 2015

Conversation

sawanoboly
Copy link
Member

from knife.rb

knife[: automatic_attribute_whitelist] = [
  "fqdn/",
  "ipaddress/",
  "roles/",
  "recipes/",
  "ipaddress/",
  "platform/",
  "platform_version/",
  "cloud",
  "cloud_v2"
]

to client.rb

...

automatic_attribute_whitelist ["fqdn/", "ipaddress/", "roles/", "recipes/", "ipaddress/", "platform/", "platform_version/", "cloud", "cloud_v2"]

creates

{
  "name": "knife-zero02",
  "normal": {
    "tags": [

    ]
  },
  "automatic": {
    "ipaddress": "133.242.xxx.xxx",
    "roles": [

    ],
    "recipes": [

    ],
    "platform": "ubuntu",
    "platform_version": "14.04",
    "cloud_v2": null
  }

@sawanoboly sawanoboly added this to the v1.6.1 milestone Jun 14, 2015
@sawanoboly sawanoboly changed the title [WIP] Feature/customize client.rb for filter attributes. Feature/customize client.rb for filter attributes. Jun 14, 2015
sawanoboly added a commit that referenced this pull request Jun 14, 2015
Feature/customize client.rb for filter attributes.
@sawanoboly sawanoboly merged commit f84c1a0 into master Jun 14, 2015
@sawanoboly sawanoboly removed the ready label Jun 14, 2015
@sawanoboly sawanoboly deleted the feature/customize_client.rb branch June 14, 2015 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant