fixed password issues with windows server vagrant VM and updated manifest files
This commit is contained in:
		
							parent
							
								
									2214da1ef3
								
							
						
					
					
						commit
						c6341c9b55
					
				@ -4,7 +4,7 @@ class profile::custom_windows::config_server (
 | 
				
			|||||||
  $user_group    = 'mygroup',
 | 
					  $user_group    = 'mygroup',
 | 
				
			||||||
  $user_groups   = ['BUILTIN\Administrators', 'BUILTIN\Users'],
 | 
					  $user_groups   = ['BUILTIN\Administrators', 'BUILTIN\Users'],
 | 
				
			||||||
  $user_home     = "C:/Users/myuser",
 | 
					  $user_home     = "C:/Users/myuser",
 | 
				
			||||||
  $user_password = 'puppet',
 | 
					  $user_password = 'Puppetlabs01!',
 | 
				
			||||||
  $ensure        = 'present',
 | 
					  $ensure        = 'present',
 | 
				
			||||||
  $manage_home   = true,
 | 
					  $manage_home   = true,
 | 
				
			||||||
  $user_dir     = 'mydir',
 | 
					  $user_dir     = 'mydir',
 | 
				
			||||||
 | 
				
			|||||||
@ -26,8 +26,13 @@ class profile::custom_windows::install_package (
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  package { 'unzip':
 | 
					  package { 'unzip':
 | 
				
			||||||
    ensure            => '6.0',
 | 
					    ensure   => '6.0',
 | 
				
			||||||
    provider          => $package_provider,
 | 
					    provider => $package_provider,
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  package { 'vim': 
 | 
				
			||||||
 | 
					    ensure => '8.2.0246',
 | 
				
			||||||
 | 
					    provider => $package_provider,
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  class { 'staging':
 | 
					  class { 'staging':
 | 
				
			||||||
@ -40,9 +45,9 @@ class profile::custom_windows::install_package (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  staging::extract { 'master.zip':
 | 
					  staging::extract { 'master.zip':
 | 
				
			||||||
    target     => "${install_dir}/downloads",
 | 
					    target     => "${install_dir}/downloads",
 | 
				
			||||||
    #unless     => '7z',
 | 
					 | 
				
			||||||
    unless     => 'cmd.exe /c type C:\tmp\7zip',
 | 
					    unless     => 'cmd.exe /c type C:\tmp\7zip',
 | 
				
			||||||
    require    => Staging::File['master.zip'],
 | 
					    require    => Staging::File['master.zip'],
 | 
				
			||||||
 | 
					    notify     => Exec['7z1900-x64'],
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  exec { '7z1900-x64':
 | 
					  exec { '7z1900-x64':
 | 
				
			||||||
@ -50,7 +55,7 @@ class profile::custom_windows::install_package (
 | 
				
			|||||||
    command     => 'cmd.exe /c C:\Users\myuser\Downloads\7z1900-x64.exe',
 | 
					    command     => 'cmd.exe /c C:\Users\myuser\Downloads\7z1900-x64.exe',
 | 
				
			||||||
    path        => $::path,
 | 
					    path        => $::path,
 | 
				
			||||||
    unless     => 'cmd.exe /c type C:\tmp\7zip',
 | 
					    unless     => 'cmd.exe /c type C:\tmp\7zip',
 | 
				
			||||||
    require    => Staging::Extract['master.zip'],
 | 
					#    unless     => '7z',
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  file { 'C:/tmp/7zip':
 | 
					  file { 'C:/tmp/7zip':
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user