SHARE
TWEET

class

a guest May 30th, 2018 209 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class uxrobot ($uxtests = '',)
  2. {
  3.     include uxrobot::pwxusers
  4.     include uxrobot::files
  5.     include uxrobot::packages
  6.     include uxrobot::execs
  7.     include uxrobot::pwxservices
  8.     include uxrobot::uxtests
  9.     class { 'chocolatey':
  10.         chocolatey_version => '0.9.9.12',
  11.         chocolatey_download_url => 'https://packages.chocolatey.org/chocolatey.0.9.9.12.nupkg',
  12.     }
  13.  
  14.     if ($uxtests != '') {
  15.         file { "C:/PWX/Resources":
  16.             ensure => directory,
  17.             source => "puppet:///modules/uxrobot/UXTests/Resources/",
  18.             recurse => true,
  19.             purge => true,
  20.             require => File['c:/PWX'],
  21.             source_permissions => ignore,
  22.         }
  23.         $uxtests.each | String $value | {
  24.             uxrobot::uxtests {"c:/PWX/${value}/":
  25.                 ux => $value,
  26.             }
  27.         }
  28.     }
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top