Sha256: 6d6870cdefb7f14f351a986ddef927fd02531ebb909613a4607b54aaa4cabe0e

Contents?: true

Size: 271 Bytes

Versions: 5

Compression:

Stored size: 271 Bytes

Contents

# Load DSL and set up stages
require 'capistrano/setup'

# Enable sudo
require 'sshkit/sudo'

# You can send password with $SUDO_PASSWORD
if ENV['SUDO_PASSWORD']
  module SSHKit
    def Sudo.password_cache
      Hash.new { "#{ENV['SUDO_PASSWORD']}\n" }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
itamae-template-0.1.4 template/Capfile
itamae-template-0.1.3 template/Capfile
itamae-template-0.1.2 template/Capfile
itamae-template-0.1.1 template/Capfile
itamae-template-0.1.0 template/Capfile