class InstanceAgent::Plugins::CodeDeployPlugin::RemoveContextCommand

Public Class Methods

new(object) click to toggle source
# File lib/instance_agent/plugins/codedeploy/install_instruction.rb, line 381
def initialize(object)
  @object = object
end

Public Instance Methods

execute() click to toggle source
# File lib/instance_agent/plugins/codedeploy/install_instruction.rb, line 385
def execute
  system("semanage fcontext -d #{@object}")
end