diff --git a/manifests/panko.pp b/manifests/panko.pp index c168c6fab..452562c8a 100644 --- a/manifests/panko.pp +++ b/manifests/panko.pp @@ -50,13 +50,8 @@ class openstack_integration::panko { 'ensure' => 'present', 'content' => '', }) - ensure_resource('file', '/etc/apache2/sites-enabled/panko-api.conf', { - 'ensure' => 'present', - 'content' => '', - }) - Package['panko-api'] -> File['/etc/apache2/sites-available/panko-api.conf'] - -> File['/etc/apache2/sites-enabled/panko-api.conf'] ~> Anchor['panko::install::end'] + Package['panko-api'] -> File['/etc/apache2/sites-available/panko-api.conf'] ~> Anchor['panko::install::end'] } include ::apache class { '::panko::wsgi::apache': diff --git a/manifests/sahara.pp b/manifests/sahara.pp index b7bdcfb98..45f7def9f 100644 --- a/manifests/sahara.pp +++ b/manifests/sahara.pp @@ -77,13 +77,8 @@ class openstack_integration::sahara ( 'ensure' => 'present', 'content' => '', }) - ensure_resource('file', '/etc/apache2/sites-enabled/sahara-api.conf', { - 'ensure' => 'present', - 'content' => '', - }) - Package['sahara-api'] -> File['/etc/apache2/sites-available/sahara-api.conf'] - -> File['/etc/apache2/sites-enabled/sahara-api.conf'] ~> Anchor['sahara::install::end'] + Package['sahara-api'] -> File['/etc/apache2/sites-available/sahara-api.conf'] ~> Anchor['sahara::install::end'] } include ::apache