{"action":"created","comment":{"url":"https://api.github.com/repos/Normation/rudder-techniques/pulls/comments/47367081","id":47367081,"diff_hunk":"@@ -0,0 +1,43 @@\n+#####################################################################################\n+# Copyright 2015 Normation SAS\n+#####################################################################################\n+#\n+# This program is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation, Version 3.\n+#\n+# This program is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+#\n+#####################################################################################\n+\n+# This file contains all the groups where the node belongs to. The groups are available on two ways:\n+# 1/ two classes are added for each groups: \n+#    - group_UUID with UUID replaced by the group unique identifier\n+#    - group_NAME with NAME replaced by the transliteration of the group name to lower-case ascii, and the \n+#      canonification of the result\n+# 2/ an array \"by_uuid\" of UUID -> ORIG_NAME, available as a global variable (for example for processing\n+#    all node groups to use in templates)\n+#  \n+#  For example, if node belongs to group: (id: 64f85ba8-39c7-418a-a099-24c2c2909dfd ; name: \"Serveurs pré-prod\")\n+#  we will have the following classes:\n+#  - group_64f85ba8_39c7_418a_a099_24c2c2909dfd\n+#  - group_serveurs_pre_prod\n+#  and vars:\n+#  - by_uuid[\"64f85ba8-39c7-418a-a099-24c2c2909dfd\"] = \"Serveurs pré-prod\"\n+# More over, each value of the array will have an attribute \"meta\": { \"inventory\", \"attribute_name=rudder_groups\" }\n+#\n+bundle common rudder_groups {\n+\n+  vars:\n+    &RUDDER_NODE_GROUPS_VARS&\n+\n+  classes:\n+      &RUDDER_NODE_GROUPS_CLASSES&","path":"techniques/system/common/1.0/rudder-groups.st","position":41,"original_position":41,"commit_id":"96d3202304b78f46d096f527cfdb045464498dfe","original_commit_id":"96d3202304b78f46d096f527cfdb045464498dfe","user":{"login":"fanf","id":44649,"avatar_url":"https://avatars.githubusercontent.com/u/44649?v=3","gravatar_id":"","url":"https://api.github.com/users/fanf","html_url":"https://github.com/fanf","followers_url":"https://api.github.com/users/fanf/followers","following_url":"https://api.github.com/users/fanf/following{/other_user}","gists_url":"https://api.github.com/users/fanf/gists{/gist_id}","starred_url":"https://api.github.com/users/fanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanf/subscriptions","organizations_url":"https://api.github.com/users/fanf/orgs","repos_url":"https://api.github.com/users/fanf/repos","events_url":"https://api.github.com/users/fanf/events{/privacy}","received_events_url":"https://api.github.com/users/fanf/received_events","type":"User","site_admin":false},"body":"ok","created_at":"2015-12-11T15:34:05Z","updated_at":"2015-12-11T15:34:05Z","html_url":"https://github.com/Normation/rudder-techniques/pull/815#discussion_r47367081","pull_request_url":"https://api.github.com/repos/Normation/rudder-techniques/pulls/815","_links":{"self":{"href":"https://api.github.com/repos/Normation/rudder-techniques/pulls/comments/47367081"},"html":{"href":"https://github.com/Normation/rudder-techniques/pull/815#discussion_r47367081"},"pull_request":{"href":"https://api.github.com/repos/Normation/rudder-techniques/pulls/815"}}},"pull_request":{"url":"https://api.github.com/repos/Normation/rudder-techniques/pulls/815","id":53382106,"html_url":"https://github.com/Normation/rudder-techniques/pull/815","diff_url":"https://github.com/Normation/rudder-techniques/pull/815.diff","patch_url":"https://github.com/Normation/rudder-techniques/pull/815.patch","issue_url":"https://api.github.com/repos/Normation/rudder-techniques/issues/815","number":815,"state":"open","locked":false,"title":"Fixes #7599: Modify commons techniques to add rudder-groups.st and related info","user":{"login":"fanf","id":44649,"avatar_url":"https://avatars.githubusercontent.com/u/44649?v=3","gravatar_id":"","url":"https://api.github.com/users/fanf","html_url":"https://github.com/fanf","followers_url":"https://api.github.com/users/fanf/followers","following_url":"https://api.github.com/users/fanf/following{/other_user}","gists_url":"https://api.github.com/users/fanf/gists{/gist_id}","starred_url":"https://api.github.com/users/fanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanf/subscriptions","organizations_url":"https://api.github.com/users/fanf/orgs","repos_url":"https://api.github.com/users/fanf/repos","events_url":"https://api.github.com/users/fanf/events{/privacy}","received_events_url":"https://api.github.com/users/fanf/received_events","type":"User","site_admin":false},"body":"https://www.rudder-project.org/redmine/issues/7599","created_at":"2015-12-11T11:31:30Z","updated_at":"2015-12-11T15:34:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c619a34fecd425a243e84e237c92e9080221652","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Normation/rudder-techniques/pulls/815/commits","review_comments_url":"https://api.github.com/repos/Normation/rudder-techniques/pulls/815/comments","review_comment_url":"https://api.github.com/repos/Normation/rudder-techniques/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Normation/rudder-techniques/issues/815/comments","statuses_url":"https://api.github.com/repos/Normation/rudder-techniques/statuses/96d3202304b78f46d096f527cfdb045464498dfe","head":{"label":"fanf:ust_7599/modify_commons_techniques_to_add_rudder_groups_st_and_related_info","ref":"ust_7599/modify_commons_techniques_to_add_rudder_groups_st_and_related_info","sha":"96d3202304b78f46d096f527cfdb045464498dfe","user":{"login":"fanf","id":44649,"avatar_url":"https://avatars.githubusercontent.com/u/44649?v=3","gravatar_id":"","url":"https://api.github.com/users/fanf","html_url":"https://github.com/fanf","followers_url":"https://api.github.com/users/fanf/followers","following_url":"https://api.github.com/users/fanf/following{/other_user}","gists_url":"https://api.github.com/users/fanf/gists{/gist_id}","starred_url":"https://api.github.com/users/fanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanf/subscriptions","organizations_url":"https://api.github.com/users/fanf/orgs","repos_url":"https://api.github.com/users/fanf/repos","events_url":"https://api.github.com/users/fanf/events{/privacy}","received_events_url":"https://api.github.com/users/fanf/received_events","type":"User","site_admin":false},"repo":{"id":19278495,"name":"rudder-techniques","full_name":"fanf/rudder-techniques","owner":{"login":"fanf","id":44649,"avatar_url":"https://avatars.githubusercontent.com/u/44649?v=3","gravatar_id":"","url":"https://api.github.com/users/fanf","html_url":"https://github.com/fanf","followers_url":"https://api.github.com/users/fanf/followers","following_url":"https://api.github.com/users/fanf/following{/other_user}","gists_url":"https://api.github.com/users/fanf/gists{/gist_id}","starred_url":"https://api.github.com/users/fanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanf/subscriptions","organizations_url":"https://api.github.com/users/fanf/orgs","repos_url":"https://api.github.com/users/fanf/repos","events_url":"https://api.github.com/users/fanf/events{/privacy}","received_events_url":"https://api.github.com/users/fanf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fanf/rudder-techniques","description":"","fork":true,"url":"https://api.github.com/repos/fanf/rudder-techniques","forks_url":"https://api.github.com/repos/fanf/rudder-techniques/forks","keys_url":"https://api.github.com/repos/fanf/rudder-techniques/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fanf/rudder-techniques/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fanf/rudder-techniques/teams","hooks_url":"https://api.github.com/repos/fanf/rudder-techniques/hooks","issue_events_url":"https://api.github.com/repos/fanf/rudder-techniques/issues/events{/number}","events_url":"https://api.github.com/repos/fanf/rudder-techniques/events","assignees_url":"https://api.github.com/repos/fanf/rudder-techniques/assignees{/user}","branches_url":"https://api.github.com/repos/fanf/rudder-techniques/branches{/branch}","tags_url":"https://api.github.com/repos/fanf/rudder-techniques/tags","blobs_url":"https://api.github.com/repos/fanf/rudder-techniques/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fanf/rudder-techniques/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fanf/rudder-techniques/git/refs{/sha}","trees_url":"https://api.github.com/repos/fanf/rudder-techniques/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fanf/rudder-techniques/statuses/{sha}","languages_url":"https://api.github.com/repos/fanf/rudder-techniques/languages","stargazers_url":"https://api.github.com/repos/fanf/rudder-techniques/stargazers","contributors_url":"https://api.github.com/repos/fanf/rudder-techniques/contributors","subscribers_url":"https://api.github.com/repos/fanf/rudder-techniques/subscribers","subscription_url":"https://api.github.com/repos/fanf/rudder-techniques/subscription","commits_url":"https://api.github.com/repos/fanf/rudder-techniques/commits{/sha}","git_commits_url":"https://api.github.com/repos/fanf/rudder-techniques/git/commits{/sha}","comments_url":"https://api.github.com/repos/fanf/rudder-techniques/comments{/number}","issue_comment_url":"https://api.github.com/repos/fanf/rudder-techniques/issues/comments{/number}","contents_url":"https://api.github.com/repos/fanf/rudder-techniques/contents/{+path}","compare_url":"https://api.github.com/repos/fanf/rudder-techniques/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fanf/rudder-techniques/merges","archive_url":"https://api.github.com/repos/fanf/rudder-techniques/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fanf/rudder-techniques/downloads","issues_url":"https://api.github.com/repos/fanf/rudder-techniques/issues{/number}","pulls_url":"https://api.github.com/repos/fanf/rudder-techniques/pulls{/number}","milestones_url":"https://api.github.com/repos/fanf/rudder-techniques/milestones{/number}","notifications_url":"https://api.github.com/repos/fanf/rudder-techniques/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fanf/rudder-techniques/labels{/name}","releases_url":"https://api.github.com/repos/fanf/rudder-techniques/releases{/id}","created_at":"2014-04-29T14:02:25Z","updated_at":"2014-04-29T14:47:07Z","pushed_at":"2015-12-11T14:58:31Z","git_url":"git://github.com/fanf/rudder-techniques.git","ssh_url":"git@github.com:fanf/rudder-techniques.git","clone_url":"https://github.com/fanf/rudder-techniques.git","svn_url":"https://github.com/fanf/rudder-techniques","homepage":"http://www.rudder-project.org/","size":44702,"stargazers_count":0,"watchers_count":0,"language":"Smalltalk","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Normation:branches/rudder/3.2","ref":"branches/rudder/3.2","sha":"53c7f79df2501a1ea319637b7cda8ff19d80437b","user":{"login":"Normation","id":695105,"avatar_url":"https://avatars.githubusercontent.com/u/695105?v=3","gravatar_id":"","url":"https://api.github.com/users/Normation","html_url":"https://github.com/Normation","followers_url":"https://api.github.com/users/Normation/followers","following_url":"https://api.github.com/users/Normation/following{/other_user}","gists_url":"https://api.github.com/users/Normation/gists{/gist_id}","starred_url":"https://api.github.com/users/Normation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Normation/subscriptions","organizations_url":"https://api.github.com/users/Normation/orgs","repos_url":"https://api.github.com/users/Normation/repos","events_url":"https://api.github.com/users/Normation/events{/privacy}","received_events_url":"https://api.github.com/users/Normation/received_events","type":"Organization","site_admin":false},"repo":{"id":2528259,"name":"rudder-techniques","full_name":"Normation/rudder-techniques","owner":{"login":"Normation","id":695105,"avatar_url":"https://avatars.githubusercontent.com/u/695105?v=3","gravatar_id":"","url":"https://api.github.com/users/Normation","html_url":"https://github.com/Normation","followers_url":"https://api.github.com/users/Normation/followers","following_url":"https://api.github.com/users/Normation/following{/other_user}","gists_url":"https://api.github.com/users/Normation/gists{/gist_id}","starred_url":"https://api.github.com/users/Normation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Normation/subscriptions","organizations_url":"https://api.github.com/users/Normation/orgs","repos_url":"https://api.github.com/users/Normation/repos","events_url":"https://api.github.com/users/Normation/events{/privacy}","received_events_url":"https://api.github.com/users/Normation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Normation/rudder-techniques","description":"","fork":false,"url":"https://api.github.com/repos/Normation/rudder-techniques","forks_url":"https://api.github.com/repos/Normation/rudder-techniques/forks","keys_url":"https://api.github.com/repos/Normation/rudder-techniques/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Normation/rudder-techniques/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Normation/rudder-techniques/teams","hooks_url":"https://api.github.com/repos/Normation/rudder-techniques/hooks","issue_events_url":"https://api.github.com/repos/Normation/rudder-techniques/issues/events{/number}","events_url":"https://api.github.com/repos/Normation/rudder-techniques/events","assignees_url":"https://api.github.com/repos/Normation/rudder-techniques/assignees{/user}","branches_url":"https://api.github.com/repos/Normation/rudder-techniques/branches{/branch}","tags_url":"https://api.github.com/repos/Normation/rudder-techniques/tags","blobs_url":"https://api.github.com/repos/Normation/rudder-techniques/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Normation/rudder-techniques/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Normation/rudder-techniques/git/refs{/sha}","trees_url":"https://api.github.com/repos/Normation/rudder-techniques/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Normation/rudder-techniques/statuses/{sha}","languages_url":"https://api.github.com/repos/Normation/rudder-techniques/languages","stargazers_url":"https://api.github.com/repos/Normation/rudder-techniques/stargazers","contributors_url":"https://api.github.com/repos/Normation/rudder-techniques/contributors","subscribers_url":"https://api.github.com/repos/Normation/rudder-techniques/subscribers","subscription_url":"https://api.github.com/repos/Normation/rudder-techniques/subscription","commits_url":"https://api.github.com/repos/Normation/rudder-techniques/commits{/sha}","git_commits_url":"https://api.github.com/repos/Normation/rudder-techniques/git/commits{/sha}","comments_url":"https://api.github.com/repos/Normation/rudder-techniques/comments{/number}","issue_comment_url":"https://api.github.com/repos/Normation/rudder-techniques/issues/comments{/number}","contents_url":"https://api.github.com/repos/Normation/rudder-techniques/contents/{+path}","compare_url":"https://api.github.com/repos/Normation/rudder-techniques/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Normation/rudder-techniques/merges","archive_url":"https://api.github.com/repos/Normation/rudder-techniques/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Normation/rudder-techniques/downloads","issues_url":"https://api.github.com/repos/Normation/rudder-techniques/issues{/number}","pulls_url":"https://api.github.com/repos/Normation/rudder-techniques/pulls{/number}","milestones_url":"https://api.github.com/repos/Normation/rudder-techniques/milestones{/number}","notifications_url":"https://api.github.com/repos/Normation/rudder-techniques/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Normation/rudder-techniques/labels{/name}","releases_url":"https://api.github.com/repos/Normation/rudder-techniques/releases{/id}","created_at":"2011-10-06T19:28:53Z","updated_at":"2015-11-20T16:01:31Z","pushed_at":"2015-12-11T14:58:31Z","git_url":"git://github.com/Normation/rudder-techniques.git","ssh_url":"git@github.com:Normation/rudder-techniques.git","clone_url":"https://github.com/Normation/rudder-techniques.git","svn_url":"https://github.com/Normation/rudder-techniques","homepage":"http://www.rudder-project.org/","size":46294,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":16,"forks":14,"open_issues":16,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Normation/rudder-techniques/pulls/815"},"html":{"href":"https://github.com/Normation/rudder-techniques/pull/815"},"issue":{"href":"https://api.github.com/repos/Normation/rudder-techniques/issues/815"},"comments":{"href":"https://api.github.com/repos/Normation/rudder-techniques/issues/815/comments"},"review_comments":{"href":"https://api.github.com/repos/Normation/rudder-techniques/pulls/815/comments"},"review_comment":{"href":"https://api.github.com/repos/Normation/rudder-techniques/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Normation/rudder-techniques/pulls/815/commits"},"statuses":{"href":"https://api.github.com/repos/Normation/rudder-techniques/statuses/96d3202304b78f46d096f527cfdb045464498dfe"}}}}