Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mekanix committed Jul 22, 2018
1 parent 3f8e2a9 commit fa623e7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 65 deletions.
14 changes: 6 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
BIN = /bin
PREFIX ?= /usr/local
REGGAE_DIR = /share/reggae
TEMPLATE_DIR = ${REGGAE_DIR}/templates
MAKE_DIR = ${REGGAE_DIR}/mk
SCRIPTS_DIR = ${REGGAE_DIR}/scripts
CBSD_PROFILE_DIR = ${REGGAE_DIR}/cbsd-profile
REGGAE_DIR ?= share/reggae
TEMPLATE_DIR = /${REGGAE_DIR}/templates
MAKE_DIR = /${REGGAE_DIR}/mk
SCRIPTS_DIR = /${REGGAE_DIR}/scripts
CBSD_PROFILE_DIR = /${REGGAE_DIR}/cbsd-profile
BIN_FILES = reggae
TEMPLATES = cbsd.conf.tpl \
dhclient-exit-hooks \
Expand Down Expand Up @@ -40,7 +40,6 @@ SCRIPTS = init.sh \
chef-provision.sh \
get-config.sh \
import.sh \
master.sh \
master-init.sh \
network-init.sh \
puppet-provision.sh \
Expand Down Expand Up @@ -73,8 +72,7 @@ install: install_bin install_templates install_makefiles install_scripts install
install -d ${DESTDIR}${PREFIX}/etc
install -m 0644 reggae.conf.sample ${DESTDIR}${PREFIX}/etc
install -m 0644 scripts/default.conf ${DESTDIR}${PREFIX}${SCRIPTS_DIR}/default.conf
cp -r skel ${DESTDIR}${PREFIX}${REGGAE_DIR}
cp -r master ${DESTDIR}${PREFIX}${REGGAE_DIR}
cp -r skel ${DESTDIR}${PREFIX}/${REGGAE_DIR}

install_bin:
install -d ${DESTDIR}${PREFIX}${BIN}
Expand Down
6 changes: 0 additions & 6 deletions master/salt/Makefile

This file was deleted.

17 changes: 0 additions & 17 deletions master/salt/playbook/provision.sh

This file was deleted.

5 changes: 0 additions & 5 deletions mk/shell.mk
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
PROVISIONERS += shell
FOR_DEVEL_MODE ?= "NO"

provision-shell:
@sudo mkdir ${CBSD_WORKDIR}/jails/${SERVICE}/root/shell >/dev/null 2>&1 || true
.if ${FOR_DEVEL_MODE} == "YES"
@sudo ${REGGAE_PATH}/scripts/shell-provision.sh ${SERVICE} devel
.else
@sudo ${REGGAE_PATH}/scripts/shell-provision.sh ${SERVICE}
.endif

clean-shell:

Expand Down
29 changes: 0 additions & 29 deletions scripts/master.sh

This file was deleted.

0 comments on commit fa623e7

Please sign in to comment.