From: Peter Palfrader Date: Sun, 28 Feb 2010 20:10:52 +0000 (+0100) Subject: *sigh* X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=98236867648ad8ea51b7938555f5978d4d115397;p=mirror%2Fdsa-puppet.git *sigh* --- diff --git a/modules/raidmpt/manifest/init.pp b/modules/raidmpt/manifest/init.pp deleted file mode 100644 index 2aa4ac79b..000000000 --- a/modules/raidmpt/manifest/init.pp +++ /dev/null @@ -1,22 +0,0 @@ -class raidmpt { - package { - mtp-status: ensure => installed; - } - - file { - "/etc/default/mpt-statusd": - content => "# This file is under puppet control" + - "RUN_DAEMON=no", - notify => Exec["mpt-statusd-stop"], - ; - } - exec { - "mpt-statusd-stop": - command: 'pidfile=/var/run/mpt-statusd.pid; ! [ -e "$pidfile" ] || /sbin/start-stop-daemon --oknodo --stop --quiet --pidfile "$pidfile"; rm -f "$pidfile"' - refreshonly => true, - ; - } -} -# vim:set et: -# vim:set ts=4: -# vim:set shiftwidth=4: diff --git a/modules/raidmpt/manifests/init.pp b/modules/raidmpt/manifests/init.pp new file mode 100644 index 000000000..2aa4ac79b --- /dev/null +++ b/modules/raidmpt/manifests/init.pp @@ -0,0 +1,22 @@ +class raidmpt { + package { + mtp-status: ensure => installed; + } + + file { + "/etc/default/mpt-statusd": + content => "# This file is under puppet control" + + "RUN_DAEMON=no", + notify => Exec["mpt-statusd-stop"], + ; + } + exec { + "mpt-statusd-stop": + command: 'pidfile=/var/run/mpt-statusd.pid; ! [ -e "$pidfile" ] || /sbin/start-stop-daemon --oknodo --stop --quiet --pidfile "$pidfile"; rm -f "$pidfile"' + refreshonly => true, + ; + } +} +# vim:set et: +# vim:set ts=4: +# vim:set shiftwidth=4: