source: debian/gnuboat-puppet.postinst@ bf1ddcd

debian/bullseye debian/jessie
Last change on this file since bf1ddcd was 90530ec, checked in by Joachim Langenbach <joachim.langenbach@…>, 9 years ago

Fixed gnuboat-puppet.postinst script

  • Property mode set to 100644
File size: 749 bytes
Line 
1#!/bin/sh
2
3set -e
4
5# Run puppet, if wanted by the user (in upgrade case)
6# Not possible, as this apt instance locks the database
7# and therefore the puppet apt instance is hanging
8#if [ "$1" = configure ]; then
9# if [ ! -z $2 ]; then
10 # it's an upgrade
11 # Source debconf library.
12# . /usr/share/debconf/confmodule
13#
14# db_get gnuboat-puppet/runpuppetagent
15# if [ "$RET" = "true" ]; then
16# puppet apply --test --config /etc/puppet/gnuboat_puppet.conf --environment gnuboat /etc/puppet/environments/gnuboat/manifests/ || true
17# fi
18# fi
19#fi
20echo 'To apply the GNUBoat config to your system run "puppet apply --test --config /etc/puppet/gnuboat_puppet.conf --environment gnuboat /etc/puppet/environments/gnuboat/manifests/"'
21
22#DEBHELPER#
23
24exit 0
Note: See TracBrowser for help on using the repository browser.