Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6630

Puppet-agent 4.6.0 throws transactionstore.yaml is corrupt with puppetlabs-acl module on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: PUP 4.6.0
    • Fix Version/s: None
    • Component/s: Modules, Windows
    • Labels:
    • Environment:

      Windows Server 2016 Tech. Preview 5

    • Template:

      Description

      Using puppet-agent 4.6.0 on Windows Server 2016 Tech Preview 5 Core edition, combined with puppetlabs-acl module 1.1.2, applying this simple ACL, and error is thrown in the second puppet-run (an all runs following)

      acl { "c:/temp":
      permissions => [

      { identity => 'Administrator', rights => ['full'] }

      ,

      { identity => 'Users', rights => ['read','execute'] }

      ],
      }

      Error: Transaction store file C:/ProgramData/PuppetLabs/puppet/cache/state/transactionstore.yaml is corrupt (wrong number of arguments (0 for 1..2)); replacing
      Error: Transaction state file C:/ProgramData/PuppetLabs/puppet/cache/state/transactionstore.yaml is valid YAML but not returning a hash. Check the file for corruption, or remove it before continuing.

      Data in transactionstore.yaml file looks like this:

      Acl[c:/temp]:
      parameters:
      permissions:
      system_value:

      • !ruby/hash:Puppet::Type::Acl::Ace {}
      • !ruby/hash:Puppet::Type::Acl::Ace {}
        inherit_parent_permissions:
        system_value: :true

      By downgrading puppet-agent to 4.5.3 this error goes away in the puppet-runs, however the invalid data i still in the yaml file.

      http://stackoverflow.com/questions/38996997/puppet-acl-module-on-windows-throws-transactionstore-yaml-corrupt-error

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  kbrandenburg Kasper Brandenburg
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: