Skip to content

DSC modules - Dependency not working #300

@webalexeu

Description

@webalexeu

Describe the Bug

Hello,

We are facing an issue with the DSC modules (Using computermanagementdsc 9.2.0-0-0 as reference but same with all modules)

Failed to apply catalog: Could not find dependency Windows_firewall_rule[contoso.com outbound rule] for Dsc_computer[consto.com]

Expected Behavior

Applying configuration using standard puppet relationships

Steps to Reproduce

Not sure it is easily reproducable
When apply locally on one node manually is not causing any issue
That is the code we are using

dsc_computer { 'contoso.com':
  dsc_name       => $facts['networking']['hostname'],
  dsc_domainname => 'contoso.com',
  dsc_joinou     => 'OU=Servers,DC=contoso,DC=com',
  dsc_credential => {
    'user'     => 'username',
    'password' => Sensitive('password'),
  },
  require        => Windows_firewall_rule['contoso.com outbound rule'];
}

Environment

  • Puppet agent 8.6.0
  • Windows server 2022

Additional Context

We have open this ticket because it's maybe linked
https://github.com/puppetlabs/ruby-pwsh/issues/349

Thank you for your support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions