Skip to content

Having a Message of the Day stops the provider "policy" from being fetched #105

Description

@1WindowsPuppetAdmin

I have a message of the day (using puppetlabs-MOTD module) which sets a setting in HKLM:\Software\Microsoft\Windows\CurrentVersion\policies\system\legalnoticetext

The text is pretty standard like

************
If you are not authorized for login please log off now
You are subject to having your activities monitored
***********

or something to that effect (with \n characters for the new lines).

I get an error that says:

Could not prefetch local_security_policy provider 'policy': Could not parse line: <It gives me the text without the '*' characters at all>

It does work if I blank that out but Security would rather we have that message in place.

This is for Windows 2012 R2, puppet agent 6.16.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions