Re: [cobbler] cobbler puppet documentation

2012-07-30 Thread Greg Swift
On Mon, Jul 30, 2012 at 9:47 AM, Jakov Sosic jso...@srce.hr wrote: On 07/30/2012 02:56 AM, James Cammarata wrote: Documentation is still a work in progress, unfortunately. For now, here is a link to the wiki which should be able to get you started, and any other questions that come up feel

[cobbler] Can't read out variable repos in snippet

2012-07-30 Thread Manuel.Laesser
Hello togehter I would like to read out variable repos (cobbler profile dumpvars --name=rhel5-intranet | grep -w repos) in my snippet create_repos_snippet and download a yum repo file if the string is not empty. [root@cobbler sl]# cobbler profile dumpvars --name=rhel5-intranet | grep -w repos

Re: [cobbler] cobbler puppet documentation

2012-07-30 Thread Jakov Sosic
On 07/30/2012 04:58 PM, Greg Swift wrote: I've got puppet and cobbler working together in this method using the default snippets, so I wonder if fixing that will fix that for you. Maybe the problem is that I don't boot with PXE but with cobbler's ISO. ISO is built with profiles only, so I

Re: [cobbler] cobbler puppet documentation

2012-07-30 Thread Greg Swift
On Mon, Jul 30, 2012 at 1:20 PM, Jakov Sosic jso...@srce.hr wrote: On 07/30/2012 04:58 PM, Greg Swift wrote: I've got puppet and cobbler working together in this method using the default snippets, so I wonder if fixing that will fix that for you. Maybe the problem is that I don't boot with

Re: [cobbler] Can't read out variable repos in snippet

2012-07-30 Thread James Cammarata
On Mon, Jul 30, 2012 at 10:19 AM, manuel.laes...@swisslife.ch wrote: Hello togehter I would like to read out variable repos (cobbler profile dumpvars --name=rhel5-intranet | grep -w repos) in my snippet create_repos_snippet and download a yum repo file if the string is not empty.

Re: [cobbler] #try/#except not working as expected

2012-07-30 Thread James Cammarata
On Thu, Jul 26, 2012 at 10:38 AM, Lukas Zuercher this.is.too.bor...@gmail.com wrote: Hi, I wanted to create something like that: #try #include '/stuff/$name' #except do something else #end try safe_templating is set to false. The reason is that I want to try to include a file with

Re: [cobbler] Can't read out variable repos in snippet

2012-07-30 Thread Manuel.Laesser
Hello James Thank you for your answer. Unfortunately this doesn't work. My wget won't be executed even a active repo. [root@cobbler sl]# cobbler profile dumpvars --name=rhel5-intranet | grep -w repos repos : rhel58-x86_64-20120723 [root@cobbler sl]# cobbler profile getks --name=rhel5-Intranet |