Uploaded image for project: 'Documentation (moved to puppet.atlassian.net)'
  1. Documentation (moved to puppet.atlassian.net)
  2. DOCUMENT-1170

Add logonaccount and logonpassword to windows service provider example

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • 2
    • 2020.12.08-12.18
    • Needs Assessment

    Description

      We added support for managing the logon user and password to the windows service provider, but it's not reflected in the documentation for the provider. We should add an example to the description: https://github.com/puppetlabs/puppet/blob/96029b003cfbb5303426cbc110f350a0d4b6af06/lib/puppet/provider/service/windows.rb#L5-L12

      service { 'name-of-service':
        ensure              => 'running',
        enable              => 'true', 
        logonaccount   => 'domain\\user', 
        logonpassword => $password,
      }
      

      Attachments

        Issue Links

          Activity

            People

              claire.cadman Claire Cadman
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support