Remove local-scheduled-shutdown check
[mirror/dsa-puppet.git] / modules / webserver / manifests / init.pp
index 19afd27..e5b9140 100644 (file)
@@ -1,12 +1,4 @@
 #
 class webserver {
        include webserver::defaultpage
-
-       file { '/etc/cron.d/puppet-export-scheduled-shutdown': ensure => absent, }
-       concat::fragment { 'puppet-crontab--webserver-export-shutdown':
-               target => '/etc/cron.d/puppet-crontab',
-               content  => @(EOF)
-                       */2 * * * * root mkdir -p /run/dsa/shutdown-marker; if dsa-is-shutdown-scheduled; then echo 'system-in-shutdown' > /run/dsa/shutdown-marker/shutdown-in-progress; else rm -f /run/dsa/shutdown-marker/shutdown-in-progress; fi
-                       | EOF
-       }
 }