class Puppetfactory::Plugins::LoginShell

Public Class Methods

new(options) click to toggle source
Calls superclass method Puppetfactory::Plugins::new
# File lib/puppetfactory/plugins/login_shell.rb, line 2
def initialize(options)
  super(options)
end

Public Instance Methods

login() click to toggle source
# File lib/puppetfactory/plugins/login_shell.rb, line 6
def login
  $logger.info 'Logging in with the default system shell'
  exec('bash --login')
end