{"action":"created","issue":{"url":"https://api.github.com/repos/biemond/biemond-orawls/issues/106","labels_url":"https://api.github.com/repos/biemond/biemond-orawls/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/biemond/biemond-orawls/issues/106/comments","events_url":"https://api.github.com/repos/biemond/biemond-orawls/issues/106/events","html_url":"https://github.com/biemond/biemond-orawls/issues/106","id":54947531,"number":106,"title":"nodemanager sleep time","user":{"login":"adamjk-dev","id":4096455,"avatar_url":"https://avatars.githubusercontent.com/u/4096455?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjk-dev","html_url":"https://github.com/adamjk-dev","followers_url":"https://api.github.com/users/adamjk-dev/followers","following_url":"https://api.github.com/users/adamjk-dev/following{/other_user}","gists_url":"https://api.github.com/users/adamjk-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjk-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjk-dev/subscriptions","organizations_url":"https://api.github.com/users/adamjk-dev/orgs","repos_url":"https://api.github.com/users/adamjk-dev/repos","events_url":"https://api.github.com/users/adamjk-dev/events{/privacy}","received_events_url":"https://api.github.com/users/adamjk-dev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-20T22:08:48Z","updated_at":"2015-03-02T13:20:56Z","closed_at":null,"body":"Hello sir,\r\n\r\nSo, I updated to use the latest orawls module today, and am currently getting this error:\r\n\r\nError: Failed to apply catalog: Parameter bedtime failed on Sleep[wake up nodemanager]: sleepy time isn't an integer at /etc/puppetlabs/puppet/environments/cse_wl_production/modules/orawls/manifests/nodemanager.pp:173\r\nWrapped exception:\r\nsleepy time isn't an integer\r\n\r\nHave you tried to set the 'wls_nodemanager_sleep' variable in your hiera data (instead of using the default of 20 seconds)?\r\n\r\nWhen I run with the following in my hiera data, I get the error:\r\nwls_nodemanager_sleep:    80\r\n\r\nBut, I commented it out and it seemed to not fail with that error (likely because it used the default of 20 seconds). Perhaps something is up with the type conversions with hiera and what is passed into the fiddyspence-sleep module? \r\n\r\nSo, have you run this with that value set in hiera data as something else? Or, perhaps we can entertain increasing the default value (since it is now a \"safer\" sleep). Meaning, if we set the default to 300 or more seconds, it should cover more cases, but would still execute after 20 seconds if your node manager's port came up by then.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/biemond/biemond-orawls/issues/comments/76710121","html_url":"https://github.com/biemond/biemond-orawls/issues/106#issuecomment-76710121","issue_url":"https://api.github.com/repos/biemond/biemond-orawls/issues/106","id":76710121,"user":{"login":"biemond","id":1085004,"avatar_url":"https://avatars.githubusercontent.com/u/1085004?v=3","gravatar_id":"","url":"https://api.github.com/users/biemond","html_url":"https://github.com/biemond","followers_url":"https://api.github.com/users/biemond/followers","following_url":"https://api.github.com/users/biemond/following{/other_user}","gists_url":"https://api.github.com/users/biemond/gists{/gist_id}","starred_url":"https://api.github.com/users/biemond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biemond/subscriptions","organizations_url":"https://api.github.com/users/biemond/orgs","repos_url":"https://api.github.com/users/biemond/repos","events_url":"https://api.github.com/users/biemond/events{/privacy}","received_events_url":"https://api.github.com/users/biemond/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T13:20:56Z","updated_at":"2015-03-02T13:20:56Z","body":"I also got this error when I don't use hiera\r\nbut I think with the current version of hiera everything is string. They gonna change this.\r\n\r\nAlso tried to cast it to integer inside the define (  $newsleep = 1 * $sleep ) ,this should work when you read the puppet documentation.\r\n"}}