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

snap_package resource never exits #8827

Open
threeturn opened this issue Aug 19, 2019 · 1 comment

Comments

@threeturn
Copy link

commented Aug 19, 2019

Description

snap_package resource never exits

Chef Version

Chef Infra Client: 15.2.20

Platform Version

Ubuntu 19.04

Replication Case

# -*- mode: ruby -*-
# vi: set ft=ruby :


Vagrant.configure("2") do |config|

  config.vm.box = "ubuntu/disco64"
  config.vm.provision "shell", inline: <<-SHELL
  mkdir -p /etc/chef/accepted_licenses/
  touch /etc/chef/accepted_licenses/chef_infra_client
  touch /etc/chef/accepted_licenses/inspec
  SHELL
  config.vm.provision "chef_apply" do |chef|
    chef.recipe = 'snap_package "kubectl"'
  end

end

Client Output

[2019-08-19T06:45:57+00:00] INFO: Run List is []
[2019-08-19T06:45:57+00:00] INFO: Run List expands to []
Recipe: (chef-apply cookbook)::(chef-apply recipe)
  * snap_package[kubectl] action install
[2019-08-19T06:45:57+00:00] INFO: Processing snap_package[kubectl] action install ((chef-apply cookbook)::(chef-apply recipe) line 1)

Stacktrace

@lamont-granquist

This comment has been minimized.

Copy link
Contributor

commented Sep 17, 2019

Suspicion is this has something to do with interactive prompting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.