Hi,

I'm adapting our modules to version 2.7.3.
Currently I 've this example in a iptables module

class iptables_script
{
file {
                $iptables_init:
                        owner => "root",
                        group => "root",
                        mode => "0700",
                        .................................
}

class iptables_files
{
file {
$firewall_top:
              owner => "root",
              group => "root",
               mode => "0700",
               require => Package["$iptables_init"],
}
}

It possible to use a fully qualifed variable inside a metaparameter?

class iptables_script
{
file {
                $iptables_init:
                        owner => "root",
                        group => "root",
                        mode => "0700",
                        .................................
}

class iptables_files
{
file {
$firewall_top:
              owner => "root",
              group => "root",
               mode => "0700",
               require =>
Package["$iptables::iptables_script::iptables_init"],
}
}


Currently it's not working, I receive an "undef"
Can you help me¿?






-- 
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