| 229 | |
| 230 | |
| 231 | class RHEL(Linux): |
| 232 | def _update_system(self, params): |
| 233 | subprocess.check_call(['yum', '-y', 'install', 'ruby']) |
| 234 | |
| 235 | def _remove_agent(self, params): |
| 236 | subprocess.check_call(['yum', '-y', 'erase', 'codedeploy-agent']) |
| 237 | |
| 238 | def _stop_agent(self, params): |
| 239 | params.not_found_msg = ( |
| 240 | 'Redirecting to /bin/systemctl stop codedeploy-agent.service' |
| 241 | ) |
| 242 | return Linux._stop_agent(self, params) |
no outgoing calls