summaryrefslogtreecommitdiff
path: root/Documentation/ProfileEditor.mdwn
diff options
context:
space:
mode:
authorjrayhawk <jrayhawk@web>2013-04-23 21:22:02 -0700
committerapoc <iki-apoc@freedesktop.org>2013-04-23 21:22:02 -0700
commit29e6fec4ce5d94ed89269855d8f02b697c691b85 (patch)
treef1d3998e6c1c8b908326ae2aa38f5025e726c83a /Documentation/ProfileEditor.mdwn
parent9646c9e7d9f6d95f101e92e83fd994b17907b8bf (diff)
rename Apoc/Documentation.mdwn to Documentation.mdwn
Diffstat (limited to 'Documentation/ProfileEditor.mdwn')
-rw-r--r--Documentation/ProfileEditor.mdwn48
1 files changed, 48 insertions, 0 deletions
diff --git a/Documentation/ProfileEditor.mdwn b/Documentation/ProfileEditor.mdwn
new file mode 100644
index 0000000..3bfde26
--- /dev/null
+++ b/Documentation/ProfileEditor.mdwn
@@ -0,0 +1,48 @@
+# The Profile Editor
+
+[[!toc 2]]
+
+
+## Overview
+
+The Profile Editor is a Java based UI application that allows you to create profiles for the templates packages available on the system. It uses the template packages to know about which applications and configuration keys are available.
+
+
+## Configuring the Template Packages
+
+To properly use the editor you need to have at least one template package installed on your system, each package contains the list of configuration keys and possible values for one application. The Profile Editor uses this keys to build the user interfaces that will allow the user to select values for each of those configuration keys. The first time you run the editor, it will try to find the template packages directory, if it's unable to find it on any of the default paths, it will prompt the user for it to import them properly.
+
+[[!img package_directory.png]
+
+After importing the template packages, you will be able to select the list of applications available on the _Configuration Settings_ tab.
+
+
+## Creating a Profile
+
+To create a profile click on the File->New menu entry, then, you should select a name for the new profile on the `General Properties` tab. If the template packages were loaded succesfully you should be able to see all the settings available on the `Configuration Settings` tab. Select the values for each setting that you want to include on the profile.
+
+[[!img edit_settings.png]
+
+
+## Saving the Profile
+
+Once you have selected all the configuration settings, you can proceed to save the profile, click on the File->Save menu entry, you will be prompted for the file name and the location of the profile.
+
+[[!img saving_profile.png]
+
+This will create a .zip file containing the profile data.
+
+
+## Applying the profile locally
+
+On your client host, create the directory `${DataDir}/Policies/profiles/PROFILE_REPOSITORY_default`, if it does not already exist. `${DataDir} `corresponds to the value of the Desktop Agent's data directory which is `/usr/local/var/apoc` by default.
+
+Copy the previously created zip file to `/usr/local/var/apoc/Policies/profiles/PROFILE_REPOSITORY_default`.
+
+Ensure that the Configuration Agent is configured to apply available local policies. To do this, set the `ApplyLocalPolicy` variable to yes in the `${ConfigDir}apocd.properties` file. `${ConfigDir} `corresponds to the value of the Desktop Agent's configuration directory which is /usr/local/etc by default.
+
+Now restart the Desktop Agent running:
+
+ $ /usr/local/lib/apoc/apocd restart
+
+Any local policy deployed in this manner will be made available to clients during the next Configuration Agent change detection cycle.