Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.1 KB

User-Group.md

File metadata and controls

35 lines (25 loc) · 1.1 KB

Specific User/Group Example

This example shows how to customize the user/group which own the files in the installation. (Normal policies apply, see Puppet Provider execute(*args) DSL definition.)

aem::instance { 'aem' :
  source => '/path/to/aem-quickstart.jar',
  user   => 'vagrant',
  group  => 'vagrant',
}

AEM will be configured as defined in the Minimal Example, with the following changes:

  • Run using user/group: vagrant/vagrant

Managing User/Group Example

By default, the AEM Module will manage the user/group specified in the resource definition. This can be disabled using the manage_* attributes.

aem::instance { 'aem' :
  source       => '/path/to/aem-quickstart.jar',
  manage_group => false,
  manage_user  => false,
  user         => 'vagrant',
  group        => 'vagrant',
}

AEM will be configured as defined in the Minimal Example, with the following changes:

  • Run using user/group: vagrant/vagrant
  • The home directory be created and managed via Puppet; user and group will not.