Update docs with dist conf dir and .cdist conf dir info.
This commit is contained in:
		
					parent
					
						
							
								a434ec8dde
							
						
					
				
			
			
				commit
				
					
						4e5b9492b8
					
				
			
		
					 2 changed files with 20 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -68,6 +68,12 @@ code into your shell to get started and configure localhost::
 | 
			
		|||
    # Find out that cdist created /etc/cdist-configured
 | 
			
		||||
    ls -l /etc/cdist-configured
 | 
			
		||||
 | 
			
		||||
Note: cdist/conf is configuration directory shipped with cdist distribution.
 | 
			
		||||
If exists, ~/.cdist, is also automatically used as cdist configuration
 | 
			
		||||
directory. So in the above example you could create ~/.cdist directory,
 | 
			
		||||
then ~/.cdist/manifest sub-directory and create init manifest
 | 
			
		||||
~/.cdist/manifest/init.
 | 
			
		||||
 | 
			
		||||
That's it, you've successfully used cdist to configure your first host!
 | 
			
		||||
Continue reading the next sections, to understand what you did and how
 | 
			
		||||
to create a more sophisticated configuration.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -102,8 +102,21 @@ usage. Its primary use is for debugging type parameters.
 | 
			
		|||
 | 
			
		||||
.. option:: -s/--shell
 | 
			
		||||
 | 
			
		||||
    Select shell to use, defaults to current shell
 | 
			
		||||
    Select shell to use, defaults to current shell. Used shell should
 | 
			
		||||
    be POSIX compatible shell.
 | 
			
		||||
 | 
			
		||||
FILES
 | 
			
		||||
-----
 | 
			
		||||
~/.cdist
 | 
			
		||||
    Your personal cdist config directory. If exists it will be
 | 
			
		||||
    automatically used.
 | 
			
		||||
${cdist_prefix}/cdist/conf
 | 
			
		||||
    The distribution configuration directory. ${cdist_prefix} is
 | 
			
		||||
    installation-dependent. If you install cdist using git it is
 | 
			
		||||
    equal to your cloned directory. If you install it using python
 | 
			
		||||
    pip then it is equal to
 | 
			
		||||
    ${prefix}/lib/python<version>/site-packages/cdist sub-directory
 | 
			
		||||
    where ${prefix}, by default, is /usr/local (see :strong:`python`\ (1)).
 | 
			
		||||
 | 
			
		||||
EXAMPLES
 | 
			
		||||
--------
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue