What version of puppet are you on?
On 08/04/2011 03:30 AM, Jean-Christophe Lacaze / Bintz wrote:
It's a fact generated automatically when something is mounted and
replace "/" with "_" to generate the fact variable.
In my exemple, I have a mountpoint on /var/lib/xxx-yyy/zzz that points
to /dev/drbd0 that will translate automatically to a fact named
mountpoint_var_lib_xxx-yyy_zzz
So the fact includes the "-" since it only translate the path into a
variable name. That part seems to work, it's calling the fact in my
class that doesn't seem to be working.
On 3 aoűt, 21:41, vagn scott<[email protected]> wrote:
On 08/03/2011 05:49 AM, Jean-Christophe Lacaze / Bintz wrote:
$mountpoint_path_my-path being the facter variable
"${mountpoint_path_my-path}"
should work on 2.7.2rc2. Earlier versions
of puppet don't let you have '-' in a variable
name. Not sure if you are allowed to have
a '-' in the fact name, but I doubt it.
Is this your own fact? How about rewriting
it to not have the '-'?
--
vagn
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.