{"action":"created","issue":{"url":"https://api.github.com/repos/johanek/puppet-parse/issues/12","labels_url":"https://api.github.com/repos/johanek/puppet-parse/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/johanek/puppet-parse/issues/12/comments","events_url":"https://api.github.com/repos/johanek/puppet-parse/issues/12/events","html_url":"https://github.com/johanek/puppet-parse/issues/12","id":56006449,"number":12,"title":"Support parameters taken from params.pp","user":{"login":"amitripshtos","id":10770124,"avatar_url":"https://avatars.githubusercontent.com/u/10770124?v=3","gravatar_id":"","url":"https://api.github.com/users/amitripshtos","html_url":"https://github.com/amitripshtos","followers_url":"https://api.github.com/users/amitripshtos/followers","following_url":"https://api.github.com/users/amitripshtos/following{/other_user}","gists_url":"https://api.github.com/users/amitripshtos/gists{/gist_id}","starred_url":"https://api.github.com/users/amitripshtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitripshtos/subscriptions","organizations_url":"https://api.github.com/users/amitripshtos/orgs","repos_url":"https://api.github.com/users/amitripshtos/repos","events_url":"https://api.github.com/users/amitripshtos/events{/privacy}","received_events_url":"https://api.github.com/users/amitripshtos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-30T08:22:03Z","updated_at":"2015-02-15T19:59:13Z","closed_at":null,"body":"When my init.pp looks like this:\r\nclass mymodule ($param1 = mymodule::params::param1)\r\n{\r\n\r\n}\r\n\r\nwhen using puppet-parse, I will get the string \"mymodule::params::param1\" insted the actual parameter from params.pp file\r\n\r\nthank you!!"},"comment":{"url":"https://api.github.com/repos/johanek/puppet-parse/issues/comments/74433804","html_url":"https://github.com/johanek/puppet-parse/issues/12#issuecomment-74433804","issue_url":"https://api.github.com/repos/johanek/puppet-parse/issues/12","id":74433804,"user":{"login":"amitripshtos","id":10770124,"avatar_url":"https://avatars.githubusercontent.com/u/10770124?v=3","gravatar_id":"","url":"https://api.github.com/users/amitripshtos","html_url":"https://github.com/amitripshtos","followers_url":"https://api.github.com/users/amitripshtos/followers","following_url":"https://api.github.com/users/amitripshtos/following{/other_user}","gists_url":"https://api.github.com/users/amitripshtos/gists{/gist_id}","starred_url":"https://api.github.com/users/amitripshtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitripshtos/subscriptions","organizations_url":"https://api.github.com/users/amitripshtos/orgs","repos_url":"https://api.github.com/users/amitripshtos/repos","events_url":"https://api.github.com/users/amitripshtos/events{/privacy}","received_events_url":"https://api.github.com/users/amitripshtos/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T19:59:13Z","updated_at":"2015-02-15T19:59:13Z","body":"Thank you for your comment. I will try to find free time to write this part\ndown. Great tool by the way!\nOn Feb 15, 2015 9:57 PM, \"Johan van den Dorpe\" <notifications@github.com>\nwrote:\n\n> Hi,\n>\n> Thanks for the report. So it looks like I'm parsing each pp file\n> individually, which means there's no hope of calling variables from other\n> classes as it stands.\n>\n> It might be possible to parse an entire module at once, including all\n> classes. This would probably be a better approach in general.\n>\n> But I don't have a lot of free time to work on this, so I can't guarantee\n> I'll be able to make this improvement I'm afraid. If you or anyone else\n> reading this would like to help make this happen, that would be awesome :)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/johanek/puppet-parse/issues/12#issuecomment-74433700>.\n>\n"}}