{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/410","repository_url":"https://api.github.com/repos/PowerShell/SharePointDsc","labels_url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/410/comments","events_url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/410/events","html_url":"https://github.com/PowerShell/SharePointDsc/issues/410","id":180894756,"number":410,"title":"SPInstallLanguagePack install not working if Config_Database does not exist","user":{"login":"luigilink","id":17723411,"avatar_url":"https://avatars.githubusercontent.com/u/17723411?v=3","gravatar_id":"","url":"https://api.github.com/users/luigilink","html_url":"https://github.com/luigilink","followers_url":"https://api.github.com/users/luigilink/followers","following_url":"https://api.github.com/users/luigilink/following{/other_user}","gists_url":"https://api.github.com/users/luigilink/gists{/gist_id}","starred_url":"https://api.github.com/users/luigilink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigilink/subscriptions","organizations_url":"https://api.github.com/users/luigilink/orgs","repos_url":"https://api.github.com/users/luigilink/repos","events_url":"https://api.github.com/users/luigilink/events{/privacy}","received_events_url":"https://api.github.com/users/luigilink/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerShell/SharePointDsc/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/PowerShell/SharePointDsc/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-04T13:35:32Z","updated_at":"2016-10-11T18:29:57Z","closed_at":null,"body":"**Details of the scenario you try and problem that is occurring:**\r\nInstall Language Pack after installation of SharePoint binaries.\r\nThis type of scenario is current on a new sharepoint farm:\r\n\r\n1. Install of SharePoint Binaries\r\n2. Install of SharePoint Language Pack(s)\r\n3. Install of Cumulative Updates\r\n4. Create SPFarm \r\n\r\n**The DSC configuration that is using the resource:**\r\n```\r\nSPInstallLanguagePack APPLICATION_SpsLangPackFr\r\n{\r\n         DependsOn = '[SPInstall]APPLICATION_SpsInstallSharePoint'\r\n         Ensure = 'Present'\r\n         BinaryDir = \"E:\\INSTALL\\SPS\\LP\"\r\n         PsDscRunAsCredential = $InstallAccount\r\n}\r\n```\r\n\r\n**Version of the Operating System and PowerShell the DSC Target Node is running:**\r\n\r\n- PowerShell Version: 5.0.10586.117\r\n- OS Version : Windows 2012 R2\r\n\r\n**Version of the DSC module you're using:** SharePointDSC 1.3.0.0\r\n\r\n**Get-DscConfiguration Verbose ERROR:**\r\n```\r\nGet-DscConfiguration : La ressource DSC PowerShell MSFT_SPInstallLanguagePack n'a pas pu exécuter la fonctionnalité\r\nGet-TargetResource. Message d'erreur: Cannot access the local farm. Verify that the local farm is properly configured,\r\ncurrently available, and that you have the appropriate permissions to access the database before trying again.\r\nAu caractère Ligne:1 : 1\r\n+ Get-DscConfiguration -Verbose\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidOperation : (MSFT_DSCLocalConfigurationManager:root/Microsoft/...gurationManager)\r\n    [Get-DscConfiguration], CimException\r\n    + FullyQualifiedErrorId : ProviderOperationExecutionFailure,Get-DscConfiguration\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/comments/253003456","html_url":"https://github.com/PowerShell/SharePointDsc/issues/410#issuecomment-253003456","issue_url":"https://api.github.com/repos/PowerShell/SharePointDsc/issues/410","id":253003456,"user":{"login":"ykuijs","id":15103891,"avatar_url":"https://avatars.githubusercontent.com/u/15103891?v=3","gravatar_id":"","url":"https://api.github.com/users/ykuijs","html_url":"https://github.com/ykuijs","followers_url":"https://api.github.com/users/ykuijs/followers","following_url":"https://api.github.com/users/ykuijs/following{/other_user}","gists_url":"https://api.github.com/users/ykuijs/gists{/gist_id}","starred_url":"https://api.github.com/users/ykuijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykuijs/subscriptions","organizations_url":"https://api.github.com/users/ykuijs/orgs","repos_url":"https://api.github.com/users/ykuijs/repos","events_url":"https://api.github.com/users/ykuijs/events{/privacy}","received_events_url":"https://api.github.com/users/ykuijs/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T18:29:57Z","updated_at":"2016-10-11T18:29:57Z","body":"I never though of this scenario when designing these resources. The suggested fix in PR413 will fix the issue with the installation of Language Pack, but the resource to install CU's depends on retrieving the version information from the Config DB. The above mentioned order won't work with these resources. That has to be:\r\n1. Install of SharePoint Binaries\r\n2. Install of SharePoint Language Pack(s)\r\n3. Create SPFarm \r\n4. Install of Cumulative Updates"}}
{"actor":{"display_login":"ykuijs"}}