How can I get generate to run the command on the client, not the
server.

I have the following

class exports {
        $dirs = generate("/bin/sh","-c","/bin/mount -t ext3,xfs")
        file { "exports.test":
                name => "/etc/exports.test",
                content => template("exports.erb")
        }
}

And when run on the client, I get the same results that I get when run
on the server. It seems that generate should run the command on the
client, otherwise it isn't very useful.

Thanks,

Andy

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