File: chef.config

package info (click to toggle)
chef 10.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,464 kB
  • sloc: ruby: 31,229; sh: 1,413; python: 189; makefile: 9
file content (21 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
set -e

. /usr/share/debconf/confmodule

export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin

case "$1" in
  configure|reconfigure)
    db_input high chef/chef_server_url || true
    db_go
  ;;
  *)
    echo "config called with unknown argument \`$1'" >&2
    exit 1
  ;;
esac

db_stop 

exit 0