On Feb 10, 2011, at 7:13 AM, Tim Dunphy wrote:
> Hi Guys,
>
> Changing the server directive in the puppet conf worked!!! Thanks so
> much for your help!!
>
> Also I sent an email yesterday regarding file sharing to the list.
> Sorry to be a bother, but I am still struggling with this issue.
>
> Does anyone have any advice regarding this?
>
> Here is the email I sent for easy reference:
>
>
> -----------------------------
>
> Hi Atha,
>
> This is what the basefiles class that I have created looks like now:
>
> class basefiles {
>
> file { "/etc/ldap.conf":
> source => "puppet:///snjh/ldap.conf"
>
> }
>
> file { "/etc/haha.txt":
> source => "puppet:///snjh/haha.txt"
> }
> }
>
>
>
>
> I have allowed everything (for the time being) in filersver.conf :
>
> # Define a section 'files'
> # Adapt the allow/deny settings to your needs. Order
> # for allow/deny does not matter, allow always takes precedence
> # over deny
> [snjh]
> path /etc/puppet/manifests/files/snjh
> allow *
> # deny *.evil.example.com
> # allow 192.168.0.0/24
This is really not the recommended way. My advice is to put that config back
the way it was, and then do it as a module instead.
So, put you file at /etc/puppet/modules/somename/files/ldap.conf
Then use this as your URL:
puppet:///modules/somename/ldap.conf
This should just work.
--
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.