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

chore(error): Add some POC errors #843

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions recipes/newrelic/all_error.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"context canceled": {
"platform": [
"all"
],
"description": "Context canceled",
"form": [
{
"description": "Our install was canceled, was this on purpuse?",
"type": "checkbox"
},
{
"description": "Please provide your feedback",
"type": "texbox"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"'sudo': executable file not found in $PATH": {
"platform": [
"ubuntu"
],
"description": "Required sudo command not found",
"steps": [
{
"title": "check your path",
"description": "check your path if sudo is a command",
"code": "which sudo"
},
{
"title": "install sudo if missing for linux",
"description": "install sudo",
"code": "apt install sudo"
}
],
"form": [
{
"description": "are you using docker?",
"type": "checkbox"
},
{
"description": "Was this helpful? ",
"type": "checkbox"
},
{
"description": "Please provide your feedback",
"type": "texbox"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist": {
"platform": [
"all"
],
"description": "CentOS 8 has reached EOL, and require their package manage source update to their archieve url.",
"steps": [
{
"title": "update repo to archieve url",
"description": "update repo to archieve url",
"code": [
"sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*",
"sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*"
]
},
{
"title": "Re-run Install",
"description": "Re-run install",
"cmd": "Show-Install"
}
],
"form": [
{
"description": "Was this helpful? ",
"type": "checkbox"
},
{
"description": "Please provide your feedback",
"type": "texbox"
}
]
}
}