]> git.openstreetmap.org Git - chef.git/commitdiff
systemd: fix property limit_cpu type
authorGrant Slater <git@firefishy.com>
Fri, 21 Dec 2018 13:00:41 +0000 (13:00 +0000)
committerGrant Slater <git@firefishy.com>
Fri, 21 Dec 2018 13:00:41 +0000 (13:00 +0000)
cookbooks/systemd/resources/service.rb

index c2d125b1884a3adccabdcb8daf54f153b46b70d5..66bf7935cb9c2bde97184953883d2d349c46bb8b 100644 (file)
@@ -28,7 +28,7 @@ property :type, String,
          :is => %w[simple forking oneshot dbus notify idle]
 property :limit_nofile, Integer
 property :limit_as, [Integer, String]
-property :limit_cpu, [Integer, String]
+property :limit_cpu, Integer
 property :memory_low, [Integer, String]
 property :memory_high, [Integer, String]
 property :memory_max, [Integer, String]