Issue #23166 has been reported by Aaron Shegrud.

----------------------------------------
Bug #23166: Puppet on OSX Mavericks "true" folder missing
https://projects.puppetlabs.com/issues/23166

* Author: Aaron Shegrud
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
I’m running into some issues, I know you’re not support, but I’ve looked 
through the community and google to nearly the extents of my ability and I 
cannot find 
it appears that the Ruby dependancy issues will be resolved with puppet version 
3.4

My first attempt, after setting the symlinks to ruby 2.0.0, I was able to run 
puppet locally, but not communicate with the server. I forgot the exact error 
but there was a missing “true” folder (see below)
(browser search history: Error: Cannot create /Library/Ruby/Site/1.8/true/log; 
parent directory /Library/Ruby/Site/1.8/true does not exist) - This was 
resolved when I used macports to install all dependencies, Ruby, etc)

at this point, it looked like the application was doing a folder check, and 
mistakenly needed to populate the “true” folder. I wanted to search other 
options.


I then used gem to install puppet, and got to same point with the same issues. 
so I uninstalled.
then I used macports to install puppet with the proper dependencies (ruby1.8 
etc) and ran the puppet 3.3.2 pkg installer to update to the latest version.
same issues, but now it was looking for the true folder inside the /var/lib/ 
folder.

so I said what the heck and made the “true” folders inside the /var/lib/ folder 
as root and checked permissions, at that point I was able to finally create a 
cert with the puppet master and the following folders were created.
/var/lib/true
        client_data     
        client_yaml     
        clientbucket    
        lib             
        log             
        run             
        state

This is where I am at now
now when I run it from root, it’s erring saying it needs another true folder 
inside the true folder I created before.…
Error: /File[/private/var/lib/true/true/client_data]/ensure: change from absent 
to directory failed: Cannot create /private/var/lib/true/true/client_data; 
parent directory /private/var/lib/true/true does not exist

When I run agent –t from my user using sudo, it wants to create the true folder 
inside my home directory:
err: /File[/Users/aaronshegrud/true/client_data]/ensure: change from absent to 
directory failed: Cannot create /Users/aaronshegrud/true/client_data; parent 
directory /Users/aaronshegrud/true does not exist


I am using an Open Directory server, on which resides the puppet user and 
group. - not sure if this is where the issue is, but local puppet works fine.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to