{"action":"created","issue":{"url":"https://api.github.com/repos/cobbler/cobbler/issues/1401","labels_url":"https://api.github.com/repos/cobbler/cobbler/issues/1401/labels{/name}","comments_url":"https://api.github.com/repos/cobbler/cobbler/issues/1401/comments","events_url":"https://api.github.com/repos/cobbler/cobbler/issues/1401/events","html_url":"https://github.com/cobbler/cobbler/issues/1401","id":56650318,"number":1401,"title":"Cobbler .deb packages flatten existing config","user":{"login":"Zetten","id":111609,"avatar_url":"https://avatars.githubusercontent.com/u/111609?v=3","gravatar_id":"","url":"https://api.github.com/users/Zetten","html_url":"https://github.com/Zetten","followers_url":"https://api.github.com/users/Zetten/followers","following_url":"https://api.github.com/users/Zetten/following{/other_user}","gists_url":"https://api.github.com/users/Zetten/gists{/gist_id}","starred_url":"https://api.github.com/users/Zetten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zetten/subscriptions","organizations_url":"https://api.github.com/users/Zetten/orgs","repos_url":"https://api.github.com/users/Zetten/repos","events_url":"https://api.github.com/users/Zetten/events{/privacy}","received_events_url":"https://api.github.com/users/Zetten/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cobbler/cobbler/labels/packaging","name":"packaging","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"jmaas","id":790690,"avatar_url":"https://avatars.githubusercontent.com/u/790690?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaas","html_url":"https://github.com/jmaas","followers_url":"https://api.github.com/users/jmaas/followers","following_url":"https://api.github.com/users/jmaas/following{/other_user}","gists_url":"https://api.github.com/users/jmaas/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaas/subscriptions","organizations_url":"https://api.github.com/users/jmaas/orgs","repos_url":"https://api.github.com/users/jmaas/repos","events_url":"https://api.github.com/users/jmaas/events{/privacy}","received_events_url":"https://api.github.com/users/jmaas/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-02-05T10:08:32Z","updated_at":"2015-04-20T14:01:33Z","closed_at":null,"body":"It seems that upgrading Cobbler via the .deb package causes existing config to be overwritten with the package versions where the files exist. This is... inconvenient. I'm not sure if the same happens with .rpm packages but the rest of my environment is Debian-based so I haven't had a chance to investigate yet.\r\n\r\nI guess the best approach would be to allow dpkg to handle certain directories of configuration (https://www.debian.org/doc/debian-policy/ap-pkg-conffiles.html). It seems pretty straightforward: create a `conffiles` file in the `debian/` directory with a list of files which should be treated specially in the case where local modifications have been made."},"comment":{"url":"https://api.github.com/repos/cobbler/cobbler/issues/comments/94459289","html_url":"https://github.com/cobbler/cobbler/issues/1401#issuecomment-94459289","issue_url":"https://api.github.com/repos/cobbler/cobbler/issues/1401","id":94459289,"user":{"login":"alanoe","id":6615847,"avatar_url":"https://avatars.githubusercontent.com/u/6615847?v=3","gravatar_id":"","url":"https://api.github.com/users/alanoe","html_url":"https://github.com/alanoe","followers_url":"https://api.github.com/users/alanoe/followers","following_url":"https://api.github.com/users/alanoe/following{/other_user}","gists_url":"https://api.github.com/users/alanoe/gists{/gist_id}","starred_url":"https://api.github.com/users/alanoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanoe/subscriptions","organizations_url":"https://api.github.com/users/alanoe/orgs","repos_url":"https://api.github.com/users/alanoe/repos","events_url":"https://api.github.com/users/alanoe/events{/privacy}","received_events_url":"https://api.github.com/users/alanoe/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T14:01:33Z","updated_at":"2015-04-20T14:01:33Z","body":"Ah I didnt know Debian was packaging Cobbler.  Thank you for clarifying. Some points relevant to the discussion:\r\n\r\n1) Distributions' latest Cobbler versions are usually outdated. For instance, there is no 2.6.7 deb package. \r\n\r\n2) Debian could stop packaging Cobbler at any time.\r\n\r\n3) Is Red Hat/Fedora packaging Cobbler too?\r\n\r\nSY> Time could be better spent in cobbler fixing distro dependent issues (absolute paths and static username anyone?) rather than packaging problems.\r\n\r\nHow will I test Cobbler installation in different distributions if I dont have rpm spec and deb control files to install Cobbler in them?"}}