Add per module policy service refresh
Updating the policies for this project should only refresh the services that reads it. Change-Id: I94e1120013aa6e15bbf3aa48a9c29d9943985440
This commit is contained in:
parent
658a12dda5
commit
7c0c3e4d45
@ -38,7 +38,7 @@ class horizon::deps {
|
|||||||
|
|
||||||
# policy config should occur in the config block
|
# policy config should occur in the config block
|
||||||
Anchor['horizon::config::begin']
|
Anchor['horizon::config::begin']
|
||||||
-> Openstacklib::Policy<||>
|
-> Openstacklib::Policy<| tag == 'horizon' |>
|
||||||
~> Anchor['horizon::config::end']
|
~> Anchor['horizon::config::end']
|
||||||
|
|
||||||
# Installation or config changes will always restart services.
|
# Installation or config changes will always restart services.
|
||||||
|
@ -52,6 +52,7 @@ define horizon::policy::base(
|
|||||||
file_group => $::horizon::params::wsgi_group,
|
file_group => $::horizon::params::wsgi_group,
|
||||||
file_mode => $file_mode,
|
file_mode => $file_mode,
|
||||||
file_format => $file_format,
|
file_format => $file_format,
|
||||||
purge_config => $purge_config
|
purge_config => $purge_config,
|
||||||
|
tag => 'horizon',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,7 @@ eos
|
|||||||
:file_group => platform_params[:wsgi_group],
|
:file_group => platform_params[:wsgi_group],
|
||||||
:file_mode => '0640',
|
:file_mode => '0640',
|
||||||
:purge_config => false,
|
:purge_config => false,
|
||||||
|
:tag => 'horizon',
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -53,6 +54,7 @@ eos
|
|||||||
:file_group => platform_params[:wsgi_group],
|
:file_group => platform_params[:wsgi_group],
|
||||||
:file_mode => '0644',
|
:file_mode => '0644',
|
||||||
:purge_config => true,
|
:purge_config => true,
|
||||||
|
:tag => 'horizon',
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user