File paths must be fully qualified

36 views
Skip to first unread message

Ugo Bellavance

unread,
Dec 7, 2012, 11:54:04 AM12/7/12
to puppet...@googlegroups.com
Hi,

In the foreman apache module, I get an error when trying to apply the "::config" part of it.

The section that causes problem is:  

  file{ "${apache::params::configdir}/${apache::params::conffile}":
    mode    => '0644',
    notify  => Exec['reload-apache'],
    require => Class['apache::install'],
  }

in the params.pp file, the relevant section is:

    default: {
      $user      = 'apache'
      $group     = 'apache'
      $configdir = '/etc/httpd/conf.d'
      $conffile  = 'httpd.conf'
    }

It looks ok, but when I apply it, I always get this error: Parameter path failed: File paths must be fully qualified, not '' at /etc/puppet/modules/apache/manifests/config.pp:21

Thanks,

Ugo
Reply all
Reply to author
Forward
0 new messages