2012/6/28 eduardo <[email protected]>:
>  Thanks you Juan for quick answer. You are right, i was not clear.
>
>  I began showing my scenario and the way i found to have master and
> agent in my pc.
>
>  I need to have /etc/puppet tree in my home directory owned by me, we
> are a group having git repositories to development colaboration.
>
>
>  Thanks you,
>  eduardo.
>
>
> On 28 jun, 08:11, Juan Sierra Pons <[email protected]> wrote:
>> 2012/6/28 eduardo <[email protected]>:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> > Dears all,
>>
>> >  I have been master and agent in the same machine, to did it I took
>> > fromhttp://madduck.net/blog/2010.03.11:splitting-puppetd-from-puppetmaster/,
>> > so /var/lib/puppetmaster is the puppet working directory for both.
>> >  I need to have a repository on my $HOME nowadays owned by me, so I
>> > trying something like :
>>
>> >  root@casa:/# service puppetmaster stop
>> >  * Stopping puppet
>> > master                                                [ OK ]
>>
>> > root@casa:/# ln -s /home/era/speedy_repo/puppet-eduardo/puppet/ /etc/
>> > puppet
>>
>> > root@casa:/# ls -ld /etc/puppet  # LOOKS GOOD .
>> > lrwxrwxrwx 1 root root 44 2012-06-27 18:12 /etc/puppet -> /home/era/
>> > speedy_repo/puppet-eduardo/puppet/
>>
>> >  But a new directory /etc/puppet is created whenever start
>> > puppetmaster.
>>
>> > root@casa:/# service puppetmaster start
>> >  * Starting puppet
>> > master                                                [ OK ]
>>
>> > root@casa:/# ls -ld /etc/puppet  # LOOKS VERY BAD.
>> > drwxr-xr-x 3 root root 4096 2012-06-27 18:13 /etc/puppet
>> > root@casa:/#
>>
>> >  Is there any way to do it ?.
>>
>> >  Thanks in advanced,
>> >  eduardo.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Puppet Users" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to 
>> > [email protected].
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/puppet-users?hl=en.
>>
>> Hi,
>>
>> Way do you want to do this? Can you explain a little bit more the reason?
>>
>> Maybe there is another way to achieve your goal but we need to know it
>>
>> There are some parameters. eg:
>> vardir=/var/lib/puppet
>> ssldir=/var/lib/puppet/ssl
>> rundir=/var/run/puppet
>>
>> That can be included in the [main] and /or [agent] section of your
>> puppet.conf that can help in this case
>>
>> Best regards
>>
>> --------------------------------------------------------------------------------------
>> Juan Sierra Pons                                 [email protected]
>> Linux User Registered: #257202      http://www.elsotanillo.net
>> GPG key = 0xA110F4FE
>> Key Fingerprint = DF53 7415 0936 244E 9B00  6E66 E934 3406 A110 F4FE
>> --------------------------------------------------------------------------------------
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>
Hi

I think the right (my) approach is having a have a central repository
(doesn't matter if it is you home directory) and deploy to the
puppetmaster on demand using the repository tools: git push/pull, etc.

I mean not allowing the developers to work directly in your
/home/user/etc/puppet

Here is a good example:
<Spam>
* Deploying changes with Rake [1] ( Sign In, Subscribe or Register For
a Free Trial needed)
</Spam>

This way developers have a place to save their work and changes will
be pushed to de puppetmaster on demand.

[1] 
http://my.safaribooksonline.com/book/-/9781849515382/puppet-infrastructure/ch01lvl1sec03

I hope it helps

Best regards
--------------------------------------------------------------------------------------
Juan Sierra Pons                                 [email protected]
Linux User Registered: #257202       http://www.elsotanillo.net
GPG key = 0xA110F4FE
Key Fingerprint = DF53 7415 0936 244E 9B00  6E66 E934 3406 A110 F4FE
--------------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to