On Aug 31, 2010, at 1:49 AM, Tore wrote: > Hi, > > Just recently two nodes begun to hang, I cant see that there have been > any changes in our manifest. > > Debug output: > [...] > debug: //Node[X]/X[X]/Exec[create dir]: Executing check 'test \! -d / > dir' > debug: Executing 'test \! -d /dir' > [...] > > Here it hangs for several minutes, executin the statement manually > works of course. > > The manifest: > exec { "create dir": > command => "mkdir -p /dir", > onlyif => "test \! -d /dir", > } > > What am I missing?
This manifest works for me under puppet and finishes in about 5 seconds on a P4: exec { "create dir": path => ['/bin','/usr/bin'], command => "mkdir -p /tmp/dir", onlyif => "test \! -d /tmp/dir", } What's your version of: puppet? puppetmaster? (If applicable) ruby? (on client and server) Are you running it using puppet or puppetd? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.