{"action":"closed","issue":{"url":"https://api.github.com/repos/bartavelle/language-puppet/issues/142","labels_url":"https://api.github.com/repos/bartavelle/language-puppet/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/bartavelle/language-puppet/issues/142/comments","events_url":"https://api.github.com/repos/bartavelle/language-puppet/issues/142/events","html_url":"https://github.com/bartavelle/language-puppet/issues/142","id":114055330,"number":142,"title":"support template() with two arguments","user":{"login":"sylvainfaivre","id":10833722,"avatar_url":"https://avatars.githubusercontent.com/u/10833722?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvainfaivre","html_url":"https://github.com/sylvainfaivre","followers_url":"https://api.github.com/users/sylvainfaivre/followers","following_url":"https://api.github.com/users/sylvainfaivre/following{/other_user}","gists_url":"https://api.github.com/users/sylvainfaivre/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvainfaivre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvainfaivre/subscriptions","organizations_url":"https://api.github.com/users/sylvainfaivre/orgs","repos_url":"https://api.github.com/users/sylvainfaivre/repos","events_url":"https://api.github.com/users/sylvainfaivre/events{/privacy}","received_events_url":"https://api.github.com/users/sylvainfaivre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bartavelle/language-puppet/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T13:57:58Z","updated_at":"2015-10-29T19:20:39Z","closed_at":"2015-10-29T19:20:39Z","body":"Salut, quoi de neuf ?\r\n\r\nAvec la release 1.1.4, pour parser un fichier de la release 1.8.0 de https://forge.puppetlabs.com/puppetlabs/apt, j'ai l'erreur : \r\n\r\nERROR: (allnodes) template(): Expects a single argument at # ./modules/apt/manifests/init.pp:93:10\r\n\r\nCela fait référence au code suivant : \r\n\r\nfile { '/etc/apt/apt.conf.d/15update-stamp':\r\n    ensure  => 'file',\r\n    content => template('apt/_header.erb', 'apt/15update-stamp.erb'),\r\n    group   => 'root',\r\n    mode    => '0644',\r\n    owner   => 'root',\r\n}\r\n\r\n"}}