Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your variables aren't in top scope when they are declared, they are in the scope of the class that declared them. Try the following.

class doolittle::install {
  file { $::doolittle::location1: ensure => directory }
  file { $::doolittle::location2: ensure => directory }
}