Changes between Version 8 and Version 9 of Doc/gLite/WNCloning


Ignore:
Timestamp:
Dec 12, 2009, 4:59:58 PM (16 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/gLite/WNCloning

    v8 v9  
    5555}}}
    5656
     57== Cloning-Specific Node Configuration ===
     58
     59Depending on your exact site configuration, you may need to execute some configuration actions only in the context of profile cloning. This section defines the different options available.
     60
    5761=== Cloning Postconfig ===
    5862
     
    6165It is harmless to define this variable on a node which is not cloned.
    6266
     67=== Conditional Configuration ==
     68
     69If a site-specific template is executed in the context of profile cloning (as part of the configuration replayed on every node), it may test the variable `PROFILE_CLONING_CLONED_NODE` to do (or ignore) some actions in the context of profile cloning. This variable has the value `true` when the profile is cloned rather than rebuilt.
     70
     71''Note: in an early version of profile cloning, this variable was called DUMMY_NODE. If you used this variable, you need to update it to the new one. There is no backward compatibility.''
     72
     73For example to conditionally exclude some template when the profile is cloned, you may use:
     74{{{
     75include { if ( PROFILE_CLONING_CLONED_NODE ) 'site/nocloning-config' };
     76}}}
    6377== Examples ==
    6478