add manpage for __start_on_boot
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								dc9e1e4a25
							
						
					
				
			
			
				commit
				
					
						c567ade17a
					
				
			
		
					 1 changed files with 12 additions and 31 deletions
				
			
		| 
						 | 
					@ -1,17 +1,17 @@
 | 
				
			||||||
cdist-type__file(7)
 | 
					cdist-type__start_on_boot(7)
 | 
				
			||||||
===================
 | 
					============================
 | 
				
			||||||
Nico Schottelius <nico-cdist--@--schottelius.org>
 | 
					Nico Schottelius <nico-cdist--@--schottelius.org>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
NAME
 | 
					NAME
 | 
				
			||||||
----
 | 
					----
 | 
				
			||||||
cdist-type__file - Manage files
 | 
					cdist-type__start_on_boot - Manage stuff to be started at boot
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
DESCRIPTION
 | 
					DESCRIPTION
 | 
				
			||||||
-----------
 | 
					-----------
 | 
				
			||||||
This cdist type allows you to create files, remove files and set file
 | 
					This cdist type allows you to enable or disable stuff to be started
 | 
				
			||||||
attributes on the target.
 | 
					at boot of your operating system.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
REQUIRED PARAMETERS
 | 
					REQUIRED PARAMETERS
 | 
				
			||||||
| 
						 | 
					@ -23,38 +23,19 @@ OPTIONAL PARAMETERS
 | 
				
			||||||
state::
 | 
					state::
 | 
				
			||||||
   'present' or 'absent', defaults to 'present'
 | 
					   'present' or 'absent', defaults to 'present'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
group::
 | 
					 | 
				
			||||||
   Group to chgrp to.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
mode::
 | 
					 | 
				
			||||||
   Unix permissions, suitable for chmod.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
owner::
 | 
					 | 
				
			||||||
   User to chown to.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
source::
 | 
					 | 
				
			||||||
   If supplied, copy this file from the host running cdist to the target.
 | 
					 | 
				
			||||||
   If not supplied, an empty file or directory will be created.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
EXAMPLES
 | 
					EXAMPLES
 | 
				
			||||||
--------
 | 
					--------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
--------------------------------------------------------------------------------
 | 
					--------------------------------------------------------------------------------
 | 
				
			||||||
# Create  /etc/cdist-configured as an empty file
 | 
					# Ensure snmpd is started at boot
 | 
				
			||||||
__file /etc/cdist-configured
 | 
					__start_on_boot snmpd
 | 
				
			||||||
# The same thing
 | 
					 | 
				
			||||||
__file /etc/cdist-configured --state present
 | 
					 | 
				
			||||||
# Delete existing file
 | 
					 | 
				
			||||||
__file /etc/cdist-configured --state absent
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Use __file from another type
 | 
					# Same, but more explicit
 | 
				
			||||||
__file /etc/issue --source "$__type/files/archlinux" --state present
 | 
					__start_on_boot snmpd --state present
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Supply some more settings
 | 
					# Ensure legacy configuration management will not be started
 | 
				
			||||||
__file /etc/shadow --source "$__type/files/shadow" \
 | 
					__start_on_boot puppet --state absent
 | 
				
			||||||
   --owner root --group shadow --mode 0640 \
 | 
					 | 
				
			||||||
   --state present
 | 
					 | 
				
			||||||
--------------------------------------------------------------------------------
 | 
					--------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -65,5 +46,5 @@ SEE ALSO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPYING
 | 
					COPYING
 | 
				
			||||||
-------
 | 
					-------
 | 
				
			||||||
Copyright \(C) 2011-2012 Nico Schottelius. Free use of this software is
 | 
					Copyright \(C) 2012 Nico Schottelius. Free use of this software is
 | 
				
			||||||
granted under the terms of the GNU General Public License version 3 (GPLv3).
 | 
					granted under the terms of the GNU General Public License version 3 (GPLv3).
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue