MCPcopy Index your code
hub / github.com/aws/aws-cli / RHEL

Class RHEL

awscli/customizations/codedeploy/systems.py:231–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229
230
231class 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)

Callers 2

setUpMethod · 0.90
validate_instanceFunction · 0.90

Calls

no outgoing calls

Tested by 1

setUpMethod · 0.72