For the stored config i use this:

in the client node i do :

    include backupset::client
    backupset::client::backupme{ 'mybackup': }



inside the backupset::client class i have:

    define backupme(       $periode='1',
                                    $rsyncversion='29+',
                                    $serveur='backup01.myserver.com'){

                    @@file { "/etc/BackupPC/serveurs/$fqdn":
                                    content =>     
    template("backupset/hostfile.erb"),
                                    tag     =>      "$serveur";
                    }
    }



in the server node i got    :

    include backupset::server


inside the  backupset::server class i have :

    File <<| tag == "$fqdn" |>>


but this never create any files on the server side :(

i got :
err: Could not retrieve catalog: Puppet::Parser::Compiler failed with 
error NameError: uninitialized constant ParamValue on node 
backup01.myserver.com


i am kind of lost here on why it does not work:)


regards,
Jean.



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