{"action":"created","issue":{"url":"https://api.github.com/repos/madduck/reclass/issues/55","repository_url":"https://api.github.com/repos/madduck/reclass","labels_url":"https://api.github.com/repos/madduck/reclass/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/madduck/reclass/issues/55/comments","events_url":"https://api.github.com/repos/madduck/reclass/issues/55/events","html_url":"https://github.com/madduck/reclass/issues/55","id":168823078,"number":55,"title":"How to escape ${var} in parameter value","user":{"login":"franky4u","id":12511876,"avatar_url":"https://avatars.githubusercontent.com/u/12511876?v=3","gravatar_id":"","url":"https://api.github.com/users/franky4u","html_url":"https://github.com/franky4u","followers_url":"https://api.github.com/users/franky4u/followers","following_url":"https://api.github.com/users/franky4u/following{/other_user}","gists_url":"https://api.github.com/users/franky4u/gists{/gist_id}","starred_url":"https://api.github.com/users/franky4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franky4u/subscriptions","organizations_url":"https://api.github.com/users/franky4u/orgs","repos_url":"https://api.github.com/users/franky4u/repos","events_url":"https://api.github.com/users/franky4u/events{/privacy}","received_events_url":"https://api.github.com/users/franky4u/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-02T08:02:48Z","updated_at":"2016-12-28T14:55:43Z","closed_at":null,"body":"I've a class  test.yml with the following def:\nparameters:\n  url: http://my.domain.com/tst/do?nr=${nr}\n\n${nr} is not a reclass variable just a normal string which should be passed to app...\nHow to escape ${nr} in parameter string? (e.g. \\${nr} or similar)\n The error I got:\nreclass-salt --pillar node1\nTraceback (most recent call last):\n  File \"/usr/bin/reclass-salt\", line 9, in <module>\n    load_entry_point('reclass==1.4.1', 'console_scripts', 'reclass-salt')()\n  File \"build/bdist.linux-x86_64/egg/reclass/adapters/salt.py\", line 105, in cli\n  File \"build/bdist.linux-x86_64/egg/reclass/adapters/salt.py\", line 38, in ext_pillar\n  File \"build/bdist.linux-x86_64/egg/reclass/core.py\", line 136, in nodeinfo\n  File \"build/bdist.linux-x86_64/egg/reclass/core.py\", line 122, in _nodeinfo\n  File \"build/bdist.linux-x86_64/egg/reclass/datatypes/entity.py\", line 65, in interpolate\n  File \"build/bdist.linux-x86_64/egg/reclass/datatypes/parameters.py\", line 180, in interpolate\n  File \"build/bdist.linux-x86_64/egg/reclass/datatypes/parameters.py\", line 219, in _interpolate_inner\nAttributeError: 'UndefinedVariableError' object has no attribute 'var'\n"},"comment":{"url":"https://api.github.com/repos/madduck/reclass/issues/comments/269487775","html_url":"https://github.com/madduck/reclass/issues/55#issuecomment-269487775","issue_url":"https://api.github.com/repos/madduck/reclass/issues/55","id":269487775,"user":{"login":"lottspot","id":2199417,"avatar_url":"https://avatars.githubusercontent.com/u/2199417?v=3","gravatar_id":"","url":"https://api.github.com/users/lottspot","html_url":"https://github.com/lottspot","followers_url":"https://api.github.com/users/lottspot/followers","following_url":"https://api.github.com/users/lottspot/following{/other_user}","gists_url":"https://api.github.com/users/lottspot/gists{/gist_id}","starred_url":"https://api.github.com/users/lottspot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lottspot/subscriptions","organizations_url":"https://api.github.com/users/lottspot/orgs","repos_url":"https://api.github.com/users/lottspot/repos","events_url":"https://api.github.com/users/lottspot/events{/privacy}","received_events_url":"https://api.github.com/users/lottspot/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T14:55:43Z","updated_at":"2016-12-28T14:55:43Z","body":"Haven't had time to circle back to this issue yet, and a couple other features have come up which we're looking at with priority. PRs are welcome in the meantime."}}
{"actor":{"display_login":"lottspot"}}