Sorry, it was typed very quickly. Go to the cfengine site and find their yum repository
link.
Take the URL from there and use it to add a local repo in cobbler. Make sure to select
"keep local".
Then you'll have a cfengine repo. Edit your profile and add the repo from available
repos to included repos.
Then choose cfengine-community in your package selection in the kickstart, at either the
profile or system level.
Make sense? I might have some cobbler terms wrong, I'm on the train and not looking at
it directly.
After the package is installed you need a snippet to have it bootstrap. Since this is a
post install step the package is already installed so you just need to call cf-agent like
you show below.
I believe you still need either a failsafe or update cf file on the installed system. I
can check if you need.
Cheers,
Harry
jehan procaccia <jehan.procaccia(a)tem-tsp.eu> wrote:
it's not clear to what you mean by "add a repo line" !?
what I did so far is put cfengine rpm package into cobbler this way:
[root@cobbler2 f19-x86_64-perso]# ls
cfengine-community-3.5.1-1.x86_64.rpm
[root@cobbler2 f19-x86_64-perso]# createrepo .
#cobbler repo add --name=f19-x86_64-perso
--mirror=/var/www/cobbler/repo_mirror/f19-x86_64-perso
is it why you meant by "add a repo line" ?
now for the 1st step, where can I tell the install process to install
that package ? in cobbler , in kickstart, how ?
regarding the next step (2) => bootstrap the cfengine client, in
cfengine3 is it really necessary to copy failsafe.cf ?
a /var/cfengine/bin/cf-agent --bootstrap --policy-server X.X.X.X would
be enough no ?
but again, how can I tell cobbler to run that step2 after step1
(install cfengine package) is completed ?
thanks .
Le 18/07/2013 22:27, Harry Hoffman a écrit :
> Hi Jehan,
>
> Add a repo line for the cfengine repository,
>
> Assuming a cfengine3 deployment copy over your failsafe.cf (via a
> snippet) to bootstrap the process
>
>
> Cheers,
> Harry
>
> On 07/18/2013 04:08 PM, jehan procaccia wrote:
>> I use cobbler 2.4 to install fedora19 stations
>> I want to be able to install cfengine (todays latest rpm package 3.5.1)
>> via cobbler .
>> what is the best practice to do that ?
>> I suspect the necessity of:
>> 1) a personnal/local repository containing cfengine-3.5.1 package
>> 2) a snippet or post install to force a yum install of cfengine from
>> that repo
>> 3) a post install script command to bootstrap the client station
>> (register the client to cfengine policyserver)
>> I also heard of triggers ... is there a documentation/howto do that ?
>> Thanks.
>> _______________________________________________
>> cobbler mailing list
>> cobbler(a)lists.fedorahosted.org
>>
https://lists.fedorahosted.org/mailman/listinfo/cobbler
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/cobbler