GitHub PullRequestReviewCommentEvent at 2014-05-21 01:57:11
Repository: masterfiles
Actor: cdituri
Payload: {"comment":{"url":"https://api.github.com/repos/cfengine/masterfiles/pulls/comments/12878163","id":12878163,"diff_hunk":"@@ -7,19 +7,337 @@ computer systems.\n This repository is intended to provide a stable base policy for\n installations and upgrades, and is used by CFEngine 3.6 and newer.\n \n-## Structure\n-\n-* `cfe_internal`: internal CFEngine policies you shouldn't have to modify\n-* `controls`: configuration of components, e.g. the `cf-agent` or `cf-serverd`\n-* `def.cf`: defaults you can and should configure\n-* `inventory`: inventory modules (loaded before anything else to discover facts about the system) live here.\n-* `lib`: main library directory.  You'll see `3.5` and `3.6` under it.\n-* `libraries/cfengine_stdlib.cf`: old standard library (COPBL, used to be in https://github.com/cfengine/copbl).  Do not use; only available for upgrading older clients.\n-* `promises.cf`: main policy, you will need to configure this\n+## Installation\n+\n+The contents of this repository are intended to live in `/var/cfengine/masterfiles` or wherever `$(sys.masterdir)` points.\n+\n+Use the convenience install target:\n+\n+```\n+make install\n+```\n+\n+to install only what's needed (without `tests`, only policies). By\n+default it installs in `/var/cfengine/masterfiles` but you can\n+override that easily:\n+\n+```\n+make install DESTDIR=/my/other/install/directory\n+```\n+\n+## Setting up\n+\n+First, review `update.cf` and `def.cf`.  Most settings you need to change will live here.\n+\n+### update.cf\n+\n+Synchronizing clients with the policy server happens here, in\n+`update.cf`. Its main job is to copy all the files on the policy\n+server (usually the hub) under `$(sys.masterdir)` (usually\n+`/var/cfengine/masterfiles`) to the local host into `$(sys.inputdir)`\n+(usuall `/var/cfengine/inputs`).","path":"README.md","position":41,"original_position":41,"commit_id":"3b3a2ada7fb9ee6c375de8d1a8d7620451954823","original_commit_id":"3b3a2ada7fb9ee6c375de8d1a8d7620451954823","user":{"login":"cdituri","id":4636752,"avatar_url":"https://avatars.githubusercontent.com/u/4636752?","gravatar_id":"c5529912a09caeba1d19b6677ab406ab","url":"https://api.github.com/users/cdituri","html_url":"https://github.com/cdituri","followers_url":"https://api.github.com/users/cdituri/followers","following_url":"https://api.github.com/users/cdituri/following{/other_user}","gists_url":"https://api.github.com/users/cdituri/gists{/gist_id}","starred_url":"https://api.github.com/users/cdituri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdituri/subscriptions","organizations_url":"https://api.github.com/users/cdituri/orgs","repos_url":"https://api.github.com/users/cdituri/repos","events_url":"https://api.github.com/users/cdituri/events{/privacy}","received_events_url":"https://api.github.com/users/cdituri/received_events","type":"User","site_admin":false},"body":"s/usuall/usually/","created_at":"2014-05-21T01:57:11Z","updated_at":"2014-05-21T01:57:11Z","html_url":"https://github.com/cfengine/masterfiles/pull/250#discussion_r12878163","pull_request_url":"https://api.github.com/repos/cfengine/masterfiles/pulls/250","_links":{"self":{"href":"https://api.github.com/repos/cfengine/masterfiles/pulls/comments/12878163"},"html":{"href":"https://github.com/cfengine/masterfiles/pull/250#discussion_r12878163"},"pull_request":{"href":"https://api.github.com/repos/cfengine/masterfiles/pulls/250"}}}}