On Thursday, February 13, 2014 4:18:52 PM UTC+1, Max Hoopmann wrote:
 

> But now I want to do this via the foreman UI. I can create a new 
> provisioning template connect it with the correct OS and environment, but 
> when I do a puppetrun in the browser with the foreman UI nothing happens. 
> Even if I run "puppet agent --test" on the agent the directory won't be 
> created.
>

I think you need to enclose your resource declaration inside a class, in 
the init.pp file or in a separate .pp file.
Then in Foreman GUI you can go to Configuration -> Puppet classes and 
import your class, so you can associate it to your host in the host edit 
page.
It _should_ work. ;)

Marco

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/36b48bed-ff1d-4180-b8ad-25f9b7c3d8ce%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to