chef / knife-windows

Plugin for Chef's knife tool for working with Windows nodes
Apache License 2.0
152 stars 110 forks source link

Bootstrap missing policy_group, policy_name feature from Chef Client 12.5 #295

Closed adamedx closed 9 years ago

adamedx commented 9 years ago

The knife bootstrap windows subcommand is missing the new policy_name and policy_group` features introduced in Chef Client 12.5.

These features must be added to knife-windows for parity with core Chef.

See this test failure, which will be changed to ignore the failure (Chef Client 12.5 is not technically released).

1) Chef::Knife::Bootstrap when compared to BootstrapWindowsWinrm contains the option flags Failure/Error: expect(filtered_keys).to match_array(bootstrap.options.keys - ref_ignore) expected collection contained: [:bootstrap_install_command, :bootstrap_no_proxy, :bootstrap_proxy, :bootstrap_template, :bootstrap_url, :bootstrap_vault_file, :bootstrap_vault_item, :bootstrap_vault_json, :bootstrap_version, :chef_node_name, :distro, :first_boot_attributes, :hint, :host_key_verify, :identity_file, :node_ssl_verify_mode, :node_verify_api_cert, :policy_group, :policy_name, :prerelease, :run_list, :secret, :secret_file, :ssh_password, :ssh_port, :ssh_user, :tags, :template_file] actual collection contained: [:bootstrap_install_command, :bootstrap_no_proxy, :bootstrap_proxy, :bootstrap_template, :bootstrap_url, :bootstrap_vault_file, :bootstrap_vault_item, :bootstrap_vault_json, :bootstrap_version, :chef_node_name, :distro, :first_boot_attributes, :hint, :host_key_verify, :identity_file, :node_ssl_verify_mode, :node_verify_api_cert, :prerelease, :run_list, :secret, :secret_file, :ssh_password, :ssh_port, :ssh_user, :tags, :template_file] the missing elements were: [:policy_group, :policy_name]