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

Class Ubuntu

awscli/customizations/codedeploy/systems.py:218–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216
217
218class Ubuntu(Linux):
219 def _update_system(self, params):
220 subprocess.check_call(['apt-get', '-y', 'update'])
221 subprocess.check_call(['apt-get', '-y', 'install', 'ruby2.0'])
222
223 def _remove_agent(self, params):
224 subprocess.check_call(['dpkg', '-r', 'codedeploy-agent'])
225
226 def _stop_agent(self, params):
227 params.not_found_msg = 'codedeploy-agent: unrecognized service'
228 return Linux._stop_agent(self, params)
229
230
231class RHEL(Linux):

Callers 2

setUpMethod · 0.90
validate_instanceFunction · 0.90

Calls

no outgoing calls

Tested by 1

setUpMethod · 0.72