mattray / spiceweasel

Generates Chef knife commands from a simple JSON or YAML file.
Apache License 2.0
284 stars 65 forks source link

Data bag wildcard syntax errors out #40

Closed miketheman closed 11 years ago

miketheman commented 11 years ago

Env: ruby 1.9.3-p392 chef 11.4.0 spiceweasel 2.1.2

from yml file:

data bags:
  - users:
      items:
      - "*"

From execution:

$ knife data bag from file users *.json miketheman.json
ERROR: Could not find or open file '*.json' in current directory or in 'data_bags/users/*.json'

Unless the syntax of invoking this has changed?

mattray commented 11 years ago

Fixed in mainline, will be in the upcoming Spiceweasel 2.2.0 release (along with full wildcard support).