[Openstack] using Pseudo Parameters in heat

Pavlo Shchelokovskyy pshchelokovskyy at mirantis.com
Fri Feb 19 15:38:33 UTC 2016


Hi,
as you mention, this is not a ResourceType (you can not create one) but a
pseudo-parameter (pseudo means it is not provided by user, but is
"understood" from the stack itself), thus they have not to be consistent re
capitalization.

Cheers,

On Fri, Feb 19, 2016 at 5:00 PM Davíð Örn Jóhannsson <davidoj at siminn.is>
wrote:

> ​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' }
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-- 
Dr. Pavlo Shchelokovskyy
Senior Software Engineer
Mirantis Inc
www.mirantis.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160219/388ce52b/attachment.html>


More information about the Openstack mailing list