Hi Dan,

I am an absolute beginner at Puppet, but I do have it running under
10.5 and am using it for package management of our Mac laptops and
desktops. I haven't used puppet on 10.4 though.

I use Nigel Kerstens packages from
https://sites.google.com/a/explanatorygap.net/puppet/ and have had no
trouble with them.

You don't have to make users on the mac because puppet only runs as
root, I believe due to a limitation in how macosx works.

My rough notes on getting started are:

1) Install Puppet and Factor packages from Nigel's site

2) create /etc/puppet/puppet.conf with the following content

[main]
        user = 0
        group = 0
        server = puppet.example.com
        certname = puppet. example.com
        autosign = false

[puppetd]
        evaltrace = true
        factsync = true


3) create /etc/puppet/fileserver.conf

[facts]
  path /etc/puppet/dist/facts
  allow *

[files]
  path /etc/puppet/dist/files
  allow *


4) mkdir /etc/puppet/dist/facts

5) mkdir /etc/puppet/dist/files

6) create /etc/puppet/manifests/site.pp  (can be empty to start with)

7) sudo puppetmasterd --no-daemonize --verbose

That should get your puppetmasterd running.

I use the Launchd script from
https://reductivelabs.com/trac/puppet/wiki/PuppetWithLaunchd to keep
it running.

I hope that helps,

Marcus.







On Sat, Feb 7, 2009 at 7:58 AM, Daniel Koblas <itsupp...@chrisking.com> wrote:
> Hello group,
> I am new to puppet and trying to get it running on a 10.4.11 server.  I've
> tried installing puppet using every method I can find (os x pkg files, ruby
> gems, compiling from source), to no avail.  I have followed the
> documentation on the reductivelabs site as carefully as possible, as well as
> doing a bit of experimenting on my own, and have not been able to get it to
> run.
> When I run
> # /usr/bin/puppetmasterd --mkusers
> I get this in the system.log:
>
> Feb  6 12:53:57 server puppetmasterd[11917]:
> (/Settings[top]/Settings[main]/Group[puppet]/ensure) created
> Feb  6 12:54:01 server puppetmasterd[11917]:
> (/Settings[top]/Settings[main]/User[puppet]/ensure) created
> Feb  6 12:54:01 server puppetmasterd[11917]:
> (/Settings[top]/Settings[metrics]/File[/var/puppet/rrd]) Failed to retrieve
> current state of resource: Could not find user puppet
> Feb  6 12:54:01 server puppetmasterd[11917]:
> (/Settings[top]/Settings[main]/File[/var/puppet/log]) Failed to retrieve
> current state of resource: Could not find user puppet
> Feb  6 12:54:01 server puppetmasterd[11917]:
> (/Settings[top]/Settings[reporting]/File[/var/puppet/reports]) Failed to
> retrieve current state of resource: Could not find user puppet
> It looks like it creates the users, but it doesn't - I can see no evidence
> of it doing so.  The puppetmasterd quits on failure, returning the 3 errors
> here to stdout as well as the system.log file.  I have not been able to find
> any detailed information about how to set this up on OS X or what I might be
> doing wrong nor have I had any success in getting the daemon to run.  Any
> help would be greatly appreciated.
> Thanks in advance.
> -Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to