* [gentoo-commits] gentoo-x86 commit in app-admin/chef-server-webui/files/initd: chef-server-webui
@ 2010-07-03 12:47 Benedikt Boehm (hollow)
0 siblings, 0 replies; 7+ messages in thread
From: Benedikt Boehm (hollow) @ 2010-07-03 12:47 UTC (permalink / raw
To: gentoo-commits
hollow 10/07/03 12:47:24
Added: chef-server-webui
Log:
initial ebuild, thanks to Gábor Vészi
(Portage version: 2.2_rc67/cvs/Linux i686)
Revision Changes Path
1.1 app-admin/chef-server-webui/files/initd/chef-server-webui
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.1&content-type=text/plain
Index: chef-server-webui
===================================================================
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need net couchdb rabbitmq chef-solr-indexer
after chef-server
}
CHEF_SERVER_WEBUI_BINARY=${CHEF_SERVER_WEBUI_BINARY:-/usr/bin/chef-server-webui}
CHEF_SERVER_WEBUI_PIDFILE=${CHEF_SERVER_WEBUI_PIDFILE:-/var/run/chef/server-webui.%s.pid}
CHEF_SERVER_WEBUI_LOGFILE=${CHEF_SERVER_WEBUI_LOGFILE:-/var/log/chef/server-webui.log}
CONFIGFILE=${CONFIGFILE:-/etc/chef/webui.rb}
CLUSTER_NODES=${CLUSTER_NODES:-1}
CHEF_USER=${CHEF_USER:-chef}
CHEF_GROUP=${CHEF_GROUP:-chef}
# TODO: this could be nicer
DEFAULT_CHEF_DIRS=( /etc/chef /var/lib/chef /var/log/chef /var/run/chef )
CHEF_DIRS=( ${CHEF_DIRS[@]:-${DEFAULT_CHEF_DIRS[@]}} )
fix_dir_owners() {
for DIR in ${CHEF_DIRS[@]} ; do chown ${CHEF_USER}:${CHEF_GROUP} ${DIR} ; done
}
start() {
ebegin "Starting Chef server web interface"
fix_dir_owners
${CHEF_SERVER_WEBUI_BINARY} -d -P ${CHEF_SERVER_WEBUI_PIDFILE} --name \
chef-server-webui -C ${CONFIGFILE} -u ${CHEF_USER} -G ${CHEF_GROUP} \
-c ${CLUSTER_NODES} -L ${CHEF_SERVER_WEBUI_LOGFILE} > /dev/null
eend $?
}
stop() {
ebegin "Shutting down Chef server web interface"
${CHEF_SERVER_WEBUI_BINARY} -K all -P ${CHEF_SERVER_WEBUI_PIDFILE} > /dev/null
eend $?
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-admin/chef-server-webui/files/initd: chef-server-webui
@ 2010-07-04 10:13 Benedikt Boehm (hollow)
0 siblings, 0 replies; 7+ messages in thread
From: Benedikt Boehm (hollow) @ 2010-07-04 10:13 UTC (permalink / raw
To: gentoo-commits
hollow 10/07/04 10:13:57
Modified: chef-server-webui
Log:
fix init script to set config file owner and permissions too
(Portage version: 2.2_rc67/cvs/Linux i686)
Revision Changes Path
1.2 app-admin/chef-server-webui/files/initd/chef-server-webui
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?r1=1.1&r2=1.2
Index: chef-server-webui
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- chef-server-webui 3 Jul 2010 12:47:24 -0000 1.1
+++ chef-server-webui 4 Jul 2010 10:13:57 -0000 1.2
@@ -15,17 +15,18 @@
CHEF_USER=${CHEF_USER:-chef}
CHEF_GROUP=${CHEF_GROUP:-chef}
-# TODO: this could be nicer
-DEFAULT_CHEF_DIRS=( /etc/chef /var/lib/chef /var/log/chef /var/run/chef )
-CHEF_DIRS=( ${CHEF_DIRS[@]:-${DEFAULT_CHEF_DIRS[@]}} )
+CHEF_DIRS=( /etc/chef /var/lib/chef /var/log/chef /var/run/chef )
-fix_dir_owners() {
- for DIR in ${CHEF_DIRS[@]} ; do chown ${CHEF_USER}:${CHEF_GROUP} ${DIR} ; done
+fix_owners() {
+ for i in ${CHEF_DIRS[@]} ${CONFIGFILE}; do
+ chown ${CHEF_USER}:${CHEF_GROUP} ${i}
+ done
+ chmod 0600 ${CONFIGFILE}
}
start() {
ebegin "Starting Chef server web interface"
- fix_dir_owners
+ fix_owners
${CHEF_SERVER_WEBUI_BINARY} -d -P ${CHEF_SERVER_WEBUI_PIDFILE} --name \
chef-server-webui -C ${CONFIGFILE} -u ${CHEF_USER} -G ${CHEF_GROUP} \
-c ${CLUSTER_NODES} -L ${CHEF_SERVER_WEBUI_LOGFILE} > /dev/null
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-admin/chef-server-webui/files/initd: chef-server-webui
@ 2011-01-07 14:15 Benedikt Boehm (hollow)
0 siblings, 0 replies; 7+ messages in thread
From: Benedikt Boehm (hollow) @ 2011-01-07 14:15 UTC (permalink / raw
To: gentoo-commits
hollow 11/01/07 14:15:08
Modified: chef-server-webui
Log:
version bump. fixes #338444
(Portage version: 2.2.0_alpha10/cvs/Linux x86_64)
Revision Changes Path
1.3 app-admin/chef-server-webui/files/initd/chef-server-webui
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?r1=1.2&r2=1.3
Index: chef-server-webui
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- chef-server-webui 4 Jul 2010 10:13:57 -0000 1.2
+++ chef-server-webui 7 Jan 2011 14:15:08 -0000 1.3
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
@@ -29,7 +29,7 @@
fix_owners
${CHEF_SERVER_WEBUI_BINARY} -d -P ${CHEF_SERVER_WEBUI_PIDFILE} --name \
chef-server-webui -C ${CONFIGFILE} -u ${CHEF_USER} -G ${CHEF_GROUP} \
- -c ${CLUSTER_NODES} -L ${CHEF_SERVER_WEBUI_LOGFILE} > /dev/null
+ -c ${CLUSTER_NODES} -L ${CHEF_SERVER_WEBUI_LOGFILE} ${CHEF_SERVER_WEBUI_OPTS} > /dev/null
eend $?
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-admin/chef-server-webui/files/initd: chef-server-webui
@ 2012-01-29 12:34 Benedikt Boehm (hollow)
0 siblings, 0 replies; 7+ messages in thread
From: Benedikt Boehm (hollow) @ 2012-01-29 12:34 UTC (permalink / raw
To: gentoo-commits
hollow 12/01/29 12:34:16
Modified: chef-server-webui
Log:
version bump wrt #396693
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Revision Changes Path
1.4 app-admin/chef-server-webui/files/initd/chef-server-webui
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?r1=1.3&r2=1.4
Index: chef-server-webui
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- chef-server-webui 7 Jan 2011 14:15:08 -0000 1.3
+++ chef-server-webui 29 Jan 2012 12:34:16 -0000 1.4
@@ -1,9 +1,9 @@
#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
- need net couchdb rabbitmq chef-solr-indexer
+ need net
after chef-server
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-admin/chef-server-webui/files/initd: chef-server-webui
@ 2012-12-20 10:01 Benedikt Boehm (hollow)
0 siblings, 0 replies; 7+ messages in thread
From: Benedikt Boehm (hollow) @ 2012-12-20 10:01 UTC (permalink / raw
To: gentoo-commits
hollow 12/12/20 10:01:29
Modified: chef-server-webui
Log:
improve init script
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path
1.5 app-admin/chef-server-webui/files/initd/chef-server-webui
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?r1=1.4&r2=1.5
Index: chef-server-webui
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- chef-server-webui 29 Jan 2012 12:34:16 -0000 1.4
+++ chef-server-webui 20 Dec 2012 10:01:29 -0000 1.5
@@ -15,18 +15,13 @@
CHEF_USER=${CHEF_USER:-chef}
CHEF_GROUP=${CHEF_GROUP:-chef}
-CHEF_DIRS=( /etc/chef /var/lib/chef /var/log/chef /var/run/chef )
-
-fix_owners() {
- for i in ${CHEF_DIRS[@]} ${CONFIGFILE}; do
- chown ${CHEF_USER}:${CHEF_GROUP} ${i}
- done
- chmod 0600 ${CONFIGFILE}
+start_pre() {
+ checkpath -q -d -m 0750 -o ${user}:${group} /etc/chef /var/{lib,log,run}/chef
+ checkpath -q -f -m 0600 ${CONFIGFILE}
}
start() {
ebegin "Starting Chef server web interface"
- fix_owners
${CHEF_SERVER_WEBUI_BINARY} -d -P ${CHEF_SERVER_WEBUI_PIDFILE} --name \
chef-server-webui -C ${CONFIGFILE} -u ${CHEF_USER} -G ${CHEF_GROUP} \
-c ${CLUSTER_NODES} -L ${CHEF_SERVER_WEBUI_LOGFILE} ${CHEF_SERVER_WEBUI_OPTS} > /dev/null
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-admin/chef-server-webui/files/initd: chef-server-webui
@ 2013-02-10 20:08 Benedikt Boehm (hollow)
0 siblings, 0 replies; 7+ messages in thread
From: Benedikt Boehm (hollow) @ 2013-02-10 20:08 UTC (permalink / raw
To: gentoo-commits
hollow 13/02/10 20:08:31
Modified: chef-server-webui
Log:
version bump
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path
1.6 app-admin/chef-server-webui/files/initd/chef-server-webui
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui?r1=1.5&r2=1.6
Index: chef-server-webui
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/files/initd/chef-server-webui,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- chef-server-webui 20 Dec 2012 10:01:29 -0000 1.5
+++ chef-server-webui 10 Feb 2013 20:08:31 -0000 1.6
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
@@ -16,8 +16,13 @@
CHEF_GROUP=${CHEF_GROUP:-chef}
start_pre() {
- checkpath -q -d -m 0750 -o ${user}:${group} /etc/chef /var/{lib,log,run}/chef
- checkpath -q -f -m 0600 ${CONFIGFILE}
+ checkpath -q -d -m 0750 -o ${CHEF_USER}:${CHEF_GROUP} \
+ /etc/chef \
+ /etc/chef/certificates \
+ /var/{lib,log,run}/chef
+
+ checkpath -q -f -m 0600 -o ${CHEF_USER}:${CHEF_GROUP} \
+ ${CONFIGFILE}
}
start() {
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-admin/chef-server-webui/files/initd: chef-server-webui
@ 2015-04-25 9:00 Hans de Graaff (graaff)
0 siblings, 0 replies; 7+ messages in thread
From: Hans de Graaff (graaff) @ 2015-04-25 9:00 UTC (permalink / raw
To: gentoo-commits
graaff 15/04/25 09:00:02
Removed: chef-server-webui
Log:
Remove masked app-admin/chef packages.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-04-25 9:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-20 10:01 [gentoo-commits] gentoo-x86 commit in app-admin/chef-server-webui/files/initd: chef-server-webui Benedikt Boehm (hollow)
-- strict thread matches above, loose matches on Subject: below --
2015-04-25 9:00 Hans de Graaff (graaff)
2013-02-10 20:08 Benedikt Boehm (hollow)
2012-01-29 12:34 Benedikt Boehm (hollow)
2011-01-07 14:15 Benedikt Boehm (hollow)
2010-07-04 10:13 Benedikt Boehm (hollow)
2010-07-03 12:47 Benedikt Boehm (hollow)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox