[Openstack] using Pseudo Parameters in heat

Davíð Örn Jóhannsson davidoj at siminn.is
Fri Feb 19 14:44:43 UTC 2016


?Looks like ResourceTypes are not consistent in Casing it is OS::project_id not OS::Project_id

________________________________
Frá: Davíð Örn Jóhannsson
Sent: 19. febrúar 2016 14:30
Til: openstack at lists.openstack.org
Efni: [Openstack] using Pseudo Parameters in heat


Does someone have any clue about using Pseudo Parameters in heat, my guess was to use it as follows but that resulted in property error The Parameter (project_id) was not provided and I have found no useful documentation up to this point.


OpenStack Kilo


user_data:
                str_replace:
                    template: |
                        #!/bin/bash -v
                        echo '127.0.0.1 $SERVER_NAME' >> /etc/hosts
                        echo $PROJECT_ID > /etc/project_id
                    params:
                        $SERVER_NAME: { get_param: server_name }
                        $PROJECT_ID: { get_param: 'OS::Project_id' }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160219/317f6bb2/attachment.html>


More information about the Openstack mailing list