Nico Schottelius
5152bdfce7
add hint for 0700, root:root behaviour of __directory --parents
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
352c7da46c
quote the new value check - may contains spaces
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Arkaitz Jimenez
4a89e64115
Make global explorers available to initial manifest and fix hostname explorer
12 years ago
Arkaitz Jimenez
60f85c5b85
__user support for --create-home
12 years ago
Arkaitz Jimenez
d59953642e
crontab -l should be allowed to fail with "no crontab" without stopping exec
12 years ago
Jake Guffey
a50830dca8
Use $__explorer to get os type
12 years ago
Jake Guffey
9f330e361d
Added support for multiple IP addresses
...
FreeBSD jails support jail_${name}_ip="iface1|addr1, iface2|addr2" format for specifying multiple IP addresses
12 years ago
Jake Guffey
52fdf15a4b
Add umask
...
Some directories were being created 700 and causing problems, added umask 022 to fix this
12 years ago
Jake Guffey
005c94556e
Fix to support FreeBSD's stat(1)
...
Added check for OS type
Added FreeBSD syntax in case of $os=freebsd
12 years ago
contradict
b772e09d53
Exit with no error if directory absent
...
Explorers need to handle the case of no directory.
12 years ago
Jason Staten
919707d6f9
Initialize variables to empty string
...
Set mode, group, etc. to an empty string to ensure that no external
environment variables can leak in.
12 years ago
Eivind Uggedal
1b25ef33b9
Slackware os and os_version explorer support.
12 years ago
contradict
3ff7621984
__git respects --owner and --group, add --mode
...
After checkout, chown and chmod as specified. If already present, but
not possessing correct permissions, run chown and chmod as needed.
12 years ago
Jason Staten
fc1a9ed27b
directory permission explorers
...
The group, mode, and owner are now pulled from a explorers. If the
desired value matches the existing value, then no code is executed.
If the recursive flag is set, the permissions are applied every run.
12 years ago
Nico Schottelius
1d933dd5d3
do not need to create directories - git will do this - thanks to Steven
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Jason Staten
f16ac1911d
Set permissions on existing directory
...
Previously, an existing directory would not have its permissions
modified by the __directory type. This change removes exiting early when
$state_is matches $state_should
12 years ago
contradict
f41b029ade
Eliminiate excess output from machine explorer
...
command -v emits a string to stdout, silence this since we are only
interested in the return code.
12 years ago
Jake Guffey
7d7ad2630c
Fix issue #147
...
--state absent should imply --stopped.
12 years ago
Nico Schottelius
67c7351bec
install the right package, not pyro...
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
3167ececc6
add owner/group support to __git
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
8b91e3116a
create working version of __git
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
f37f3d201c
__ssh_authorized_key has been superseeded by __ssh_authorized_keys
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Steven Armstrong
1ef5bcaa74
new type: __ssh_authorized_keys - manage ssh authorized_keys files
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
12 years ago
Nico Schottelius
868421bf16
Update examples to match new parameters
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
1bd27fffae
__jail: started -> stopped, correct help output
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
b996dcbae1
bugfix __qemu_img
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
8408f433e9
remove type from here - goes into cdist-nico repo
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
a6452cfabd
rename type to reflect new environment
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
3dfad32d4c
add new type: __localch_kvm_vm
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
d4fc49fa6b
begin manpage
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
d419722a24
adapt documentation to use boolean parameter as well
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
4718b81a08
Documentation cleanup (old pre-boolean variant)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Steven Armstrong
7f0ae7928a
fix state explorer to properly detect already existing ppa
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
12 years ago
Nico Schottelius
13968d16f6
change __jail to boolean, fixes #128
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
327a0f2844
remove --groups from __user type
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Steven Armstrong
b0ac5fe78d
update __jail type to match changed signature of __directory: fixes #135
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
12 years ago
Steven Armstrong
28e8632097
new type: __user_group: manage user groups
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
12 years ago
Steven Armstrong
e4910933b1
__apt_ppa: /enabled/present/ -e /disabled/absent/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
12 years ago
Nico Schottelius
e6bf226036
convert __rvm_gmeset to boolean parameter
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
80c6592ec8
add hints to related manpages
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
482ec3c5d8
make --default boolean in type __rvm_ruby
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
3d4bb3837f
documentation cleanups
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
0eda57986f
remove parameter changing code in __key_value (fixes #114,#36)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
344e08ddda
Archive __autofs types ( fixes #116 )
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
47424bf200
update __package* manpages
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
13d6644966
do not report errors on missing gemset
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
347c620eed
indent
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
aeff2bcb0f
indention
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
82830f191d
link __process to __start_on_boot and vice versa
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago
Nico Schottelius
7814ece7b7
remove parameter changing code
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
12 years ago