diff --git a/modules/openstack_project/manifests/cacti.pp b/modules/openstack_project/manifests/cacti.pp index c241b7a200..89663c3f57 100644 --- a/modules/openstack_project/manifests/cacti.pp +++ b/modules/openstack_project/manifests/cacti.pp @@ -2,6 +2,11 @@ class openstack_project::cacti ( $sysadmins = [] ) { + + if $::osfamily != 'Debian' { + fail("${::osfamily} is not supported.") + } + class { 'openstack_project::server': iptables_public_tcp_ports => [80, 443], sysadmins => $sysadmins, @@ -17,7 +22,7 @@ class openstack_project::cacti ( ensure => present, } - file { '/etc/apache2/conf-available/cacti.conf': + file { '/etc/apache2/conf.d/cacti.conf': ensure => present, source => 'puppet:///modules/openstack_project/cacti/apache.conf', mode => '0644',