• Jérome Perrin's avatar
    software/cloudooo: use slapos.cookbook:switch-softwaretype · d234ab8a
    Jérome Perrin authored
    Porting to switch-softwaretype involves:
     - use recipe slapos.cookbook:switch-softwaretype instead of slapos.cookbook:softwaretype
     - don't render software type profiles, only use cloudooo-dynamic-template:rendered
      instead of ${cloudooo-dynamic-template:rendered}, the profile will be rendered
      later.
     - have a RootSoftwareInstance default alias
     - have a part reading parameters using slapos.cookbook:slapconfiguration
      named slap-configuration. This is what slapos.cookbook:switch-softwaretype
      expects. Here we renamed the existing part.
    
    At the same time, remove slap-connection that was added as backward compatibility,
    slapos.core supports this since commit 0fbed0d1 (Migrate slap_connection to
     slap-connection, and use variables names separated with '-'., 2012-09-18) that
    was part of release 0.29
    d234ab8a
instance.cfg.in 1.47 KB