Merge "Add tag to package resource"
This commit is contained in:
commit
331fc0c867
|
@ -310,7 +310,7 @@ class horizon(
|
||||||
package { 'horizon':
|
package { 'horizon':
|
||||||
ensure => $package_ensure,
|
ensure => $package_ensure,
|
||||||
name => $::horizon::params::package_name,
|
name => $::horizon::params::package_name,
|
||||||
tag => 'openstack',
|
tag => ['openstack', 'horizon-package'],
|
||||||
}
|
}
|
||||||
|
|
||||||
concat { $::horizon::params::config_file:
|
concat { $::horizon::params::config_file:
|
||||||
|
|
|
@ -28,7 +28,7 @@ describe 'horizon' do
|
||||||
is_expected.to contain_package('python-lesscpy').with_ensure('present')
|
is_expected.to contain_package('python-lesscpy').with_ensure('present')
|
||||||
is_expected.to contain_package('horizon').with(
|
is_expected.to contain_package('horizon').with(
|
||||||
:ensure => 'present',
|
:ensure => 'present',
|
||||||
:tag => 'openstack'
|
:tag => ['openstack', 'horizon-package'],
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
it { is_expected.to contain_exec('refresh_horizon_django_cache').with({
|
it { is_expected.to contain_exec('refresh_horizon_django_cache').with({
|
||||||
|
|
Loading…
Reference in New Issue