<commit_before>﻿ Configuration EnterpriseApplication
{
    Param(
    )

    Import-DscResource -ModuleName xNetworking
    Import-DscResource -ModuleName cNetworkShare
    Import-DscResource -ModuleName xComputerManagement
    Import-DscResource -ModuleName PSDesiredStateConfiguration
    Import-DscResource -Module PackageManagementProviderResource
    Import-DscResource -ModuleName xSQLServer
    
    $Vars = Get-BatchAutomationVariable -Prefix 'EnterpriseApplication' `
                                        -Name @(
                                            'FileShareAccessCredentialName'
                                            'FileSharePath'
                                        )

    $FileShareAccessCredential = Get-AutomationPSCredential -Name $Vars.FileShareAccessCredentialName

    Node FrontEndWebserver {   

        WindowsFeature installIIS 
        { 
            Ensure="Present" 
            Name="Web-Server" 
        }

        xFirewall WebFirewallRule 
        { 
            Direction = "Inbound" 
            Name = "Web-Server-TCP-In" 
            DisplayName = "Web Server (TCP-In)" 
            Description = "IIS allow incoming web site traffic."
            Action = "Allow"
            Enabled = "True"
            Protocol = "TCP" 
            LocalPort = "80" 
            Ensure = "Present"
        }
    }
    
    Node SQLServer {
        
        File SourceDirectory
        {
            Ensure = "Present"
            Type = "Directory"
            DestinationPath = "c:\Source"
            Force = "True"
        }

        File SqlServerISO
        {
            Ensure = "Present"
            Type = "File"
            SourcePath = "$($Vars.FileSharePath)\en_sql_server_2012_service_pack_3_x86_x64_dvd_7298789.iso"
            DestinationPath = "C:\Source\en_sql_server_2012_service_pack_3_x86_x64_dvd_7298789.iso"
            Credential = $FileShareAccessCredential
            Force = "True"
            DependsOn = "[File]SourceDirectory"
        }

    }
}<commit_msg>Force is a bool not a string<commit_after>﻿ Configuration EnterpriseApplication
{
    Param(
    )

    Import-DscResource -ModuleName xNetworking
    Import-DscResource -ModuleName xSQLServer
    Import-DscResource -ModuleName xWindowsUpdate
    Import-DscResource -ModuleName xComputerManagement
    Import-DscResource -ModuleName PSDesiredStateConfiguration
    
    
    $Vars = Get-BatchAutomationVariable -Prefix 'EnterpriseApplication' `
                                        -Name @(
                                            'FileShareAccessCredentialName'
                                            'FileSharePath'
                                        )

    $FileShareAccessCredential = Get-AutomationPSCredential -Name $Vars.FileShareAccessCredentialName

    Node FrontEndWebserver {   

        WindowsFeature installIIS 
        { 
            Ensure="Present" 
            Name="Web-Server" 
        }

        xFirewall WebFirewallRule 
        { 
            Direction = "Inbound" 
            Name = "Web-Server-TCP-In" 
            DisplayName = "Web Server (TCP-In)" 
            Description = "IIS allow incoming web site traffic."
            Action = "Allow"
            Enabled = "True"
            Protocol = "TCP" 
            LocalPort = "80" 
            Ensure = "Present"
        }
    }
    
    Node SQLServer {
        
        File SourceDirectory
        {
            Ensure = "Present"
            Type = "Directory"
            DestinationPath = "c:\Source"
            Force = $True
        }

        File SqlServerISO
        {
            Ensure = "Present"
            Type = "File"
            SourcePath = "$($Vars.FileSharePath)\en_sql_server_2012_service_pack_3_x86_x64_dvd_7298789.iso"
            DestinationPath = "C:\Source\en_sql_server_2012_service_pack_3_x86_x64_dvd_7298789.iso"
            Credential = $FileShareAccessCredential
            Force = $True
            DependsOn = "[File]SourceDirectory"
        }

    }
}
{'fraction_non_alphanumeric': 0.0691542288557214, 'fraction_numerical': 0.01691542288557214, 'mean_word_length': 1.5465484483850538, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '216597', 'n_tokens_mistral': 1086, 'n_tokens_neox': 1022, 'n_words': 191}