>
> Thanks for the typo/thinko correction :)
>
> Hopefully this documentation should make the right info 
> apparent?http://docs.puppetlabs.com/learning/variables.html
>
> If not, please file bugs with us so we can make this easier to understand
> and discover.

I must be doing something really stupid - I still don't get it and and
trying to understand what I'm doing wrong. This is what I have so
far....

-------------------------------------------
# /modulepath/modules/zmfs/manifests/settings.pp:
class zmfs::settings {
    $l_dir = '/zmfs/ldir.ac.uk'
    .......
    .......
}

# /modulepath/modules/zmfs/manifests/envcheck.pp:
class zmfs::envcheck {
    define env_check($file, $string, $swdir, $refreshonly = 'true') {
        ......
        ......
    }
}

# /modulepath/modules/zmfs/manifests/config.pp:
include zmfs::settings
include zmfs::envcheck

class zmfs::config {
    env_check { vo_lhcb:
        file    => '/etc/profile.d/zfs-env.sh',
        string  => "$settings::l_dir",
        .......
        .......
    }
}
-----------------------------------------------------------

But all I get an empty string on the target node. Is this what I'm
supposed to do? Or I'm still missing something? Cheers!!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to