How to set chef data bag values via Jenkins? -
i posted "how set chef attributes via jenkins?" answered correctly, is, using "-j" option. however, if want set load version in data bag in jenkins cookbooks can use it? don't want use "-j" option , instead search value in data bag? how do set chef data bag values via jenkins
best way: use knife commands upload predfined or generated databags.
knife data bag file bag json_file_for_item
the file must have defined format, extended documentation here
there's requirements on file system hierarchy and on file format, copying doc here sounds bad idea.
Comments
Post a Comment