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

Update papertrail recipe to work on both stable-v2 and stable-v4 stacks. #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yemartin
Copy link
Contributor

I just checked the recipe an a v2 and a v4 environments and they both worked, but you may want to make sure too.

Thanks to Christopher Rigor for the stack version detection code.
Check zendesk Request #70359 for additional background information.

@dennisjbell
Copy link
Contributor

Cannot rely on chef version to determine if using Gentoo 2009 (stable-v2) vs Gentoo-12.11 (stable-v4), as there is a stable-v3 stack that uses chef 10, but still uses gentoo 2009 packages. A new way for determining stack type is being developed, and I will update this ticket when its ready for consumption.

@yemartin
Copy link
Contributor Author

Any ETA on the new way for determining stack type? I am currently upgrading our main apps to v4 and I am hitting the same stack version issue on other recipes (redis in particular).

@andrewjwu
Copy link

Tried upgrading from stable-v2 to v4 and the recipe failed while attempting to install syslog-ng. This commit fixed it, thanks!

package 'app-admin/syslog-ng' do
  version PAPERTRAIL_CONFIG[:syslog_ng_version]
  action :install
end

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

Successfully merging this pull request may close these issues.

3 participants