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

erro syntax error, unexpected end-of-input, expecting keyword_end #8320

Closed
ClaytonOSouza opened this issue Mar 22, 2019 · 2 comments
Closed

Comments

@ClaytonOSouza
Copy link

case node[:platform_family]
when 'debian'
include_recipe 'apt'
apt_repository 'npm pm2' do
uri "https://pm2.io/doc/#{node['platform']}"
distribution node['lsb']['codename']
components ["pm2-#{node['pm2']['version']}"]
key "https://pm2.io/doc/#{node['platform']}/GPG-key.txt"
deb_src true
notifies 'nothing', 'execute[apt-get update]', 'immediately'
package ['npm pm2'] do
action :install
end

case node[:platform_family]
when 'rhel'
yum_repository 'pm2' do
description "pm2-wrapper #{node['pm2-wrapper']['version']} repo (#{node['platform_version']} - $basearch)"
url "https://pm2.io/doc/pm2-#{node['pm2']['version']}/el#{node['platform_version'].to_i}/"
gpgcheck false
gpgkey 'https://pm2.io/doc/debian/GPG-key.txt'
package ['npm pm2'] do
action :install
end

service 'npm pm2' do
supports :status => true, :restart => true, :reload => true
action :start
end
end

@lamont-granquist
Copy link
Contributor

Thanks for filing a GitHub Issue.

At Chef, we use GitHub Issues to track bugs and feature requests. Questions like "How do I .... with Chef?" are better answered by our awesome community on the Chef mailing lists, or on StackOverflow. (Please pick only one place to ask your question, however, as it's considered impolite to post the same question to multiple forums.)

You can find information about joining and asking questions on our mailing lists here. On StackOverflow, please tag your question with the "chef" label so that it shows up in this list.

We will be closing your issue. Please get in touch with the community via the above mechanisms in order to find a solution to your problem.

@lock
Copy link

lock bot commented Apr 16, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 16, 2019
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

2 participants