DSC 切换回推动

DSC 切换回推动

嗨,我遇到了一个小问题。我已配置一个节点来从我的 HTTP DSC 服务器提取配置。但是一旦它提取了配置,节点就会切换回推送。我的节点配置如下所示:

[DSCLocalConfigurationManager()]
configuration PullClientConfigNames
{
    Node localhost
    {
        Settings
        {
            RefreshMode = 'Pull'
            RefreshFrequencyMins = 30
            RebootNodeIfNeeded = $false

        }
        ConfigurationRepositoryWeb DSC-PullSrv
        {
            ServerURL = 'http://DSCPULLSERVER:8080/PSDSCPullServer.svc'
            RegistrationKey = 'SomeKey'
            ConfigurationNames = @('ConfigName')
            AllowUnsecureConnection = $true
        }
    }
}

相关内容