Skip to content

Commit

Permalink
Make sure org.apache.sling.jcr.base.internal.LoginAdminWhitelist.frag…
Browse files Browse the repository at this point in the history
…ment-passwordreset.config is installed before aem-password-rest package
  • Loading branch information
Joost van den Broek committed Apr 26, 2024
1 parent 1b55dda commit 10fb2a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions manifests/config_author_primary.pp
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,12 @@
jvm_mem_opts => $jvm_mem_opts,
jvm_opts => $_jvm_opts,
osgi_configs => $author_primary_osgi_config
} -> file { "${crx_quickstart_dir}/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-passwordreset.config":
ensure => present,
source => 'puppet:///modules/aem_curator/crx-quickstart/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-passwordreset.config',
mode => '0775',
owner => "aem-${aem_id}",
group => "aem-${aem_id}",
} -> archive { "${crx_quickstart_dir}/install/aem-password-reset-content-${aem_password_reset_version}.zip":
ensure => present,
source => $aem_password_reset_source,
Expand All @@ -275,12 +281,6 @@
mode => '0640',
owner => "aem-${aem_id}",
group => "aem-${aem_id}",
} -> file { "${crx_quickstart_dir}/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-passwordreset.config":
ensure => present,
source => 'puppet:///modules/aem_curator/crx-quickstart/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-passwordreset.config',
mode => '0775',
owner => "aem-${aem_id}",
group => "aem-${aem_id}",
} -> aem_resources::set_osgi_config { "${aem_id}: Set AEM OSGI config":
aem_home_dir => $aem_home_dir,
aem_id => $aem_id,
Expand Down
12 changes: 6 additions & 6 deletions manifests/config_publish.pp
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,12 @@
jvm_mem_opts => $jvm_mem_opts,
jvm_opts => $_jvm_opts,
osgi_configs => $aem_osgi_configs
} -> file {"${crx_quickstart_dir}/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-passwordreset.config":
ensure => present,
source => 'puppet:///modules/aem_curator/crx-quickstart/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-passwordreset.config',
mode => '0775',
owner => "aem-${aem_id}",
group => "aem-${aem_id}",
} -> archive { "${crx_quickstart_dir}/install/aem-password-reset-content-${aem_password_reset_version}.zip":
ensure => present,
source => $aem_password_reset_source,
Expand All @@ -265,12 +271,6 @@
mode => '0640',
owner => "aem-${aem_id}",
group => "aem-${aem_id}",
} -> file {"${crx_quickstart_dir}/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-passwordreset.config":
ensure => present,
source => 'puppet:///modules/aem_curator/crx-quickstart/install/org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-passwordreset.config',
mode => '0775',
owner => "aem-${aem_id}",
group => "aem-${aem_id}",
} -> service { 'aem-publish':
ensure => 'running',
enable => true,
Expand Down

0 comments on commit 10fb2a1

Please sign in to comment.