Skip to content

Instantly share code, notes, and snippets.

@dgrstl
Created November 25, 2015 16:28
Show Gist options
  • Save dgrstl/33294f706f5cecf6aea9 to your computer and use it in GitHub Desktop.
Save dgrstl/33294f706f5cecf6aea9 to your computer and use it in GitHub Desktop.
class dellpoc::dell_sccm {
exec { 'intsall_sccm':
provider => 'windows',
command => '\\\\AUSPWCFGAM1.aus.amer.dell.com\\client\\am1install.bat',
unless => 'c:\windows\system32\sc.exe query ccmexec',
} ->
file {'c:\windows\cmtrace.exe':
ensure => 'file',
replace => true,
source => '\\\\auspwcfgam1\\cmtools\\Client\\cmtrace.exe',
} ->
service { 'wuauserv':
enable => 'manual',
} ->
service { 'ccmexec':
ensure => 'running',
enable => true,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment