update str_replace in hot sample

Bug #1229741 reported by JunJie Nan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Heat Templates
Fix Committed
Undecided
Thomas Spatzier

Bug Description

in hot/F18/WordPress_NoKey.yaml:
 str_replace:
        template: http://$host/wordpress
        params:
          host: { get_attr: [wordpress_instance, PublicIp] }
Since the str_replace usage changed.

JunJie Nan (nanjj)
description: updated
Changed in heat-templates:
assignee: nobody → Thomas Spatzier (thomas-spatzier)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/48110

Changed in heat-templates:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat-templates (master)

Reviewed: https://review.openstack.org/48110
Committed: http://github.com/openstack/heat-templates/commit/5d603d892b780cbfb36e3a2afba4dc417a32a1ae
Submitter: Jenkins
Branch: master

commit 5d603d892b780cbfb36e3a2afba4dc417a32a1ae
Author: Thomas Spatzier <email address hidden>
Date: Tue Sep 24 20:03:57 2013 +0200

    Adapt WordPress_NoKey to changes in str_replace

    Adapt naming of parameters to the str_replace function to implementation
    changes in that function so the replacement works correctly. The following
    change introduces exact string matching, so we have to change from the
    previous python string template based notation:

    https://review.openstack.org/#/c/47772

    Note: the change to the HOT template depends on the change above being
    merged (or gets necessary as soon as this change is merged).

    Change-Id: I229bee76771b0b0f691943f9fa8ceaa8393de781
    Closes-Bug: #1229741

Changed in heat-templates:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.