File: envpuppet.bat

package info (click to toggle)
puppet 3.7.2-4%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 18,912 kB
  • ctags: 13,168
  • sloc: ruby: 210,410; sh: 2,050; xml: 1,554; lisp: 300; makefile: 142; python: 108; sql: 103; yacc: 72
file content (14 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@echo off
SETLOCAL

REM net use Z: "\\vmware-host\Shared Folders" /persistent:yes

SET PUPPET_DIR=%~dp0..
SET FACTER_DIR=%PUPPET_DIR%\..\facter
SET HIERA_DIR=%PUPPET_DIR%\..\hiera

SET PATH=%PUPPET_DIR%\bin;%FACTER_DIR%\bin;%HIERA_DIR%\bin;%PATH%
SET RUBYLIB=%PUPPET_DIR%\lib;%FACTER_DIR%\lib;%HIERA_DIR%\lib;%RUBYLIB%
SET RUBYLIB=%RUBYLIB:\=/%

ruby -S %*