Jake Guffey
46b916c0e1
Various bugfixes
...
Added logic to ensure that /etc/resolv.conf exists within a jail
Replaced /var/db, /var/tmp mountpoints with /var mountpoint in jail
Added logic to ensure that every jail is bound to an interface
Modified how information is inserted into the jail's rc.conf
Added ListenAddress directive for SSHd
Updated manpage to reflect these changes
2012-02-28 16:39:08 -05:00
Jake Guffey
20a3538e72
Fixed echoing entries
...
Entries weren't being properly echoed into /usr/jail/rw/${name}/etc/rc.conf
2012-02-28 11:21:23 -05:00
Jake Guffey
0515fd8483
Various bugfixes.
...
Needed to use '|| true' on subshell variable assignments in case of empty return
Added default status (started=true or false)
Added default devfs rules
Replaced <<- HEREDOC usage with <<
Added escapes where necessary within quoted strings or HEREDOCs
2012-02-23 17:17:30 -05:00
Jake Guffey
e4a7085978
Merge branch 'master' into __jail
2012-02-22 16:06:54 -05:00
Jake Guffey
3ebda62f04
bugfix -- needed to pass '-r' to ${add_cmd} to retreive package from remote repository.
2012-02-22 12:41:45 -05:00
Jake Guffey
446f497c4c
Created deleteJail function. Ready to begin debugging.
2012-02-22 12:13:20 -05:00
Jake Guffey
18c0e947aa
Created initial createJail function. Script still can't delete jails yet.
2012-02-21 18:34:21 -05:00
Jake Guffey
37d72a08ea
Merge branch 'master' into __jail
2012-02-21 16:09:19 -05:00
Jake Guffey
b9c757b78a
Filled out man page, created gencode-local to copy jailbase to __target_host, filled out parameter list, made explorers useful, created basic layout within gencode-remote.
2012-02-21 15:59:19 -05:00
Nico Schottelius
342d7bc80e
Merge remote-tracking branch 'jake/__package_pkg_freebsd'
...
Conflicts:
conf/type/__package/manifest
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-21 09:58:02 +01:00
Giel van Schijndel
afdfb660c7
Add support for OpenWRT packages
...
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-20 21:45:20 +01:00
Jake Guffey
2e4e291449
Added gencode-local to sync jailbase with remote side, added .gitignore to keep from syncing jailbase.tgz with github, new explorer basepresent to look for /usr/jail/{base,jailbase.tgz}
2012-02-20 14:20:55 -05:00
Giel van Schijndel
9538ef6462
Properly detect OpenWRT in global explorers
...
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-20 18:25:22 +01:00
Jake Guffey
879522db4c
Merge branch 'master' into __package_pkg_freebsd
2012-02-20 11:41:08 -05:00
Jake Guffey
5989fedb3e
Merge branch 'master' into __jail
2012-02-20 11:40:58 -05:00
Jake Guffey
377afe8b1c
Migrated to using present/absent for --state param.
2012-02-20 10:51:18 -05:00
Nico Schottelius
cfb8e7d372
move __run_command to types_submitted_for_inclusion directory
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-20 10:22:52 +01:00
Nico Schottelius
be6522c729
Merge remote-tracking branch 'benedikt/type-run_command'
2012-02-20 10:21:17 +01:00
Jake Guffey
d082815c81
Created explorers, man page, jailbase placeholder. Began initial development of gencode-remote.
2012-02-19 14:09:36 -05:00
Jake Guffey
d5b015b268
Initial commit. Placeholder files.
2012-02-17 14:13:55 -05:00
Jake Guffey
b7e3378262
Modified __package to allow pkgsite param, bugfix in __package_pkg_freebsd where it wasn't setting the PACKAGESITE variable on remote side.
2012-02-17 12:18:06 -05:00
Jake Guffey
5443d1a64a
Modified __package to utilize __package_pkg_freebsd
2012-02-17 11:35:59 -05:00
Jake Guffey
1d5b7cef9c
Moved __package_pkg_freebsd to separate branch
2012-02-17 11:35:31 -05:00
Jake Guffey
ffec26d462
Removed __package_pkg_freebsd customization
...
from __package type for inclusion in a separate branch.
2012-02-17 11:30:21 -05:00
Jake Guffey
ff5d0fd7fc
Removed newly-developed types for inclusion
...
in separate branches.
2012-02-17 11:29:12 -05:00
Nico Schottelius
0f649577ad
update __process to new style, warn if not present/absent
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 12:10:42 +01:00
Nico Schottelius
e0f80f0103
include object_name in warning
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 11:54:34 +01:00
Nico Schottelius
241f66a537
+quotes
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 11:24:29 +01:00
Nico Schottelius
6afcb0e9ee
indent + simplify
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:34:22 +01:00
Nico Schottelius
48f3252de5
correct state error message to use new variable
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:29:51 +01:00
Nico Schottelius
2f01fd6ce0
support absent/present in __package_yum
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:26:23 +01:00
Nico Schottelius
e4aafe0af9
support absent/present in __package_rubygem
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:23:19 +01:00
Nico Schottelius
9fab782a0c
update __package_luarocks to new style state checking
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:18:26 +01:00
Nico Schottelius
76a3c20669
setup state_is
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:16:26 +01:00
Nico Schottelius
272c12e3f7
correct parameters in __package_luarocks
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:15:31 +01:00
Nico Schottelius
aa53a3f221
better warning
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:12:49 +01:00
Nico Schottelius
605eaeb039
Merge branch 'master' into __package_absent_present
2012-02-16 16:35:47 +01:00
Jake Guffey
6a97cf8f26
Initial commit. Includes a few types in development and __package_pkg_freebsd.
2012-02-15 14:27:30 -05:00
Nico Schottelius
ddb5bd16c9
also support @daemon syntax from rc.conf
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 13:36:05 +01:00
Nico Schottelius
824ec459ea
cleanups in gencode
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 08:50:26 +01:00
Nico Schottelius
d427af2ee3
add hint on incomplete type
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 08:50:03 +01:00
Nico Schottelius
5d47eb849f
some stuff to be fixed
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 20:31:16 +01:00
Nico Schottelius
2b0c273715
state_should is being populated in manifest, if not given
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 18:04:00 +01:00
Nico Schottelius
2b380b7dc1
Merge branch 'master' into feature_init_process
...
Conflicts:
doc/changelog
doc/dev/todo/niconext
doc/man/cdist-reference.text.sh
lib/cdist/core/explorer.py
doc/man/cdist-reference.text.sh documents better reachability of
variables - also suitable for master?
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 13:53:16 +01:00
Nico Schottelius
c8ec4c200a
repair manpage for __package_pip
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:28:30 +01:00
telmich
5d6e55d074
Merge pull request #34 from mcodd/user-gid-change-bug
...
fix for changing a user's group by name
2012-02-13 02:22:35 -08:00
Benedikt Koeppel
ad4aa19c3e
new type __run_command
...
This cdist type allows you to run a specific command once at installation time.
optional parameter: --command Command (with arguments) to run.
2012-02-12 15:16:59 +01:00
Nico Schottelius
947c9a4ccb
++changes for 2.0.7
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-10 16:17:53 +01:00
telmich
1025ed5897
Merge pull request #31 from asteven/issue-28
...
Robuster implementation of __key_value
2012-02-10 07:16:20 -08:00
Nico Schottelius
45053c6d84
allow pip to be non existent during explorer stage
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-09 19:31:30 +01:00