{"action":"opened","issue":{"url":"https://api.github.com/repos/example42/puppet-network/issues/77","labels_url":"https://api.github.com/repos/example42/puppet-network/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/example42/puppet-network/issues/77/comments","events_url":"https://api.github.com/repos/example42/puppet-network/issues/77/events","html_url":"https://github.com/example42/puppet-network/issues/77","id":112530235,"number":77,"title":"On Debian when defining an interface ethX, only lo is defined","user":{"login":"syss","id":1512894,"avatar_url":"https://avatars.githubusercontent.com/u/1512894?v=3","gravatar_id":"","url":"https://api.github.com/users/syss","html_url":"https://github.com/syss","followers_url":"https://api.github.com/users/syss/followers","following_url":"https://api.github.com/users/syss/following{/other_user}","gists_url":"https://api.github.com/users/syss/gists{/gist_id}","starred_url":"https://api.github.com/users/syss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syss/subscriptions","organizations_url":"https://api.github.com/users/syss/orgs","repos_url":"https://api.github.com/users/syss/repos","events_url":"https://api.github.com/users/syss/events{/privacy}","received_events_url":"https://api.github.com/users/syss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-21T07:52:12Z","updated_at":"2015-10-21T07:52:12Z","closed_at":null,"body":"When I provide a single interface 'eth0' only 'lo' is defined.\r\n\r\n      eth0:\r\n        enable_dhcp: true\r\n        allow_hotplug: 'eth0'\r\n         manage_order: '08'\r\n\r\nI have read the following: IMPORTANT NOTICE: On Debian if you use network::interface once you must provide ALL the network::interface defines for all your interfaces\r\n\r\nfrom the interface manifest I have seen this for Debian OS:\r\n            if ! defined(Network::Interface['lo']) {\r\n                network::interface { 'lo':\r\n                  address      => '127.0.0.1',\r\n              method       => 'loopback',\r\n              manage_order => '05',\r\n            }\r\n          }\r\n\r\n\r\nfor me it seems to be you want to handle lo if it is not defined, which works, but fails to create my interface eth0.\r\n\r\nIf I define lo explicit it works just fine:\r\n\r\n    network::interfaces_hash:\r\n      lo:\r\n        address: '127.0.0.1'\r\n        method:  'loopback'\r\n        manage_order: '05'\r\n      eth0:\r\n        enable_dhcp: true\r\n        allow_hotplug: 'eth0'\r\n        manage_order: '08'\r\n\r\nit seems to be, that the output file you write to /var/puppet/... is overwritten"}}