Skip to content
This repository has been archived by the owner on Jan 30, 2021. It is now read-only.

Error In server.rb, passing a list to package.package_name #11

Open
mearns opened this issue May 10, 2016 · 0 comments
Open

Error In server.rb, passing a list to package.package_name #11

mearns opened this issue May 10, 2016 · 0 comments

Comments

@mearns
Copy link

mearns commented May 10, 2016

Trying to run the default recipe, I get the following error:

==> server: Chef::Exceptions::ValidationFailed
==> server:
==> server: ----------------------------------
==> server:
==> server: Option package_name must be a kind of [String]!  You passed ["avahi-daemon", "avahi-utils"].
==> server:
==> server:
==> server:     Resource Declaration:
==> server:     ---------------------
==> server:     # In /tmp/vagrant-chef/4ed2151507a05366fb8d1b42bf07b377/cookbooks/plexapp/recipes/server.rb
==> server:
==> server:      29: package [ 'avahi-daemon', 'avahi-utils' ] if platform_family?('debian')
==> server:      30:
==> server:
==> server:     Compiled Resource:
==> server:     ------------------
==> server:     # Declared in /tmp/vagrant-chef/4ed2151507a05366fb8d1b42bf07b377/cookbooks/plexapp/recipes/server.rb:29:in `from_file'
==> server:
==> server:     package("["avahi-daemon", "avahi-utils"]") do
==> server:       action :install
==> server:       retries 0
==> server:       retry_delay 2
==> server:       guard_interpreter :default
==> server:       package_name ["avahi-daemon", "avahi-utils"]
==> server:       timeout 900
==> server:       cookbook_name :plexapp
==> server:       recipe_name "server"
==> server:     end

cookbook version 1.0.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant